|
Home
-
|
I recently discovered and interesting tidbit about stored procedures and their counterparts, function imports, in the entity framework (EF). In the past I have used stored procedures in the EF when I need to do complex operations when adding new database...
|
-
|
Recently I was looking for a way to build the following SQL query using the entity framework 1: SELECT * FROM tbl_Registrations WHERE [ID] IN (1, 2, 3, 4, 5) But, turns out, that is not very easy. I thought of three different approaches. To begin, I have...
|
-
|
My current project has this concept of Activities. Activities are defined as anything we want to track for a particular Company or Contact in the database. A typical Activity may be ID = 21 Description = Contacted office IsCompanyOnly = false Now, as...
|
-
|
I have been working on a project using the Entity Framework. One of the many cool features of the framework is it generates entity classes as partial classes so you, or in this case I, can extend an entity to include computed properties or methods. In...
|
-
|
I have been developing a site using the latest release of the Entity Framework (EF). The EF is great because it allows me to create business objects that are not directly related to database tables without too much code. These new objects can be completely...
|
|
|
|