Recent Posts

7
Comments

NHibernate for Entity Framework Developers: Part 1 – Fluent NHibernate by mortezam

The approach to managing persistent data has been a key design decision in every software project we’ve worked on. Given that persistent data isn’t a new or unusual requirement for .NET applications, you’d expect to be able to make a simple choice among...
45
Comments

Associations in EF Code First: Part 6 – Many-valued Associations by mortezam

This is the sixth and last post in a series that explains entity association mappings with EF Code First. I've described these association types so far: Part 1 – Introduction and Basic Concepts Part 2 – Complex Types Part 3 – Shared Primary Key Associations...
26
Comments

Associations in EF Code First: Part 5 – One-to-One Foreign Key Associations by mortezam

This is the fourth post in a series that explains entity association mappings with EF Code First. I've described these association types so far: Part 1 – Introduction and Basic Concepts Part 2 – Complex Types Part 3 – Shared Primary Key Associations Part...
31
Comments

Associations in EF Code First: Part 4 – Table Splitting by mortezam

This is the fourth post in a series that explains entity association mappings with EF Code First. This series includes: Part 1 – Introduction and Basic Concepts Part 2 – Complex Types Part 3 – Shared Primary Key Associations Part 4 – Table Splitting Part...
27
Comments

Associations in EF Code First: Part 3 – Shared Primary Key Associations by mortezam

This is the third post in a series that explains entity association mappings with EF Code First. This series includes: Part 1 – Introduction and Basic Concepts Part 2 – Complex Types Part 3 – Shared Primary Key Associations Part 4 – Table Splitting Part...
11
Comments

Associations in EF Code First: Part 2 – Complex Types by mortezam

This is the second post in a series that explains entity association mappings with EF Code First. This series includes: Part 1 – Introduction and Basic Concepts Part 2 – Complex Types Part 3 – Shared Primary Key Associations Part 4 – Table Splitting Part...
18
Comments

Associations in EF Code First: Part 1 – Introduction and Basic Concepts by mortezam

Earlier this month the data team shipped the Release Candidate of EF 4.1. The most exciting feature of EF 4.1 is Code First , a new development pattern for EF which provides a really elegant and powerful code-centric way to work with data as well as an...
17
Comments

Associations in EF Code First CTP5: Part 3 – One-to-One Foreign Key Associations by mortezam

This is the third post in a series that explains entity association mappings with EF Code First. I've described these association types so far: Part 1 – Complex Types Part 2 – Shared Primary Key Associations In the previous blog post we saw the limitations...
38
Comments

Inheritance with EF Code First: Part 3 – Table per Concrete Type (TPC) by mortezam

This is the third (and last) post in a series that explains different approaches to map an inheritance hierarchy with EF Code First. I've described these strategies in previous posts: Part 1 – Table per Hierarchy (TPH) Part 2 – Table per Type (TPT) In...
34
Comments

Inheritance with EF Code First: Part 2 – Table per Type (TPT) by mortezam

In the previous blog post you saw that there are three different approaches to representing an inheritance hierarchy and I explained Table per Hierarchy (TPH) as the default mapping strategy in EF Code First. We argued that the disadvantages of TPH may...
More Posts Next page »