Enterprise .Net
Morteza Manavi
Sign in
|
Join
Home
Contact
About
RSS
Atom
Comments RSS
Search
Tags
.NET
C#
Code First
CTP5
Entity Framework
Entity Framework 4.1
Fluent NHibernate
NHibernate
Sponsors
advertise here
News
Navigation
Home
Blogs
Archives
October 2011 (1)
May 2011 (2)
April 2011 (2)
March 2011 (2)
January 2011 (2)
December 2010 (5)
December 2010 - Posts
57
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...
Filed under:
Entity Framework
,
C#
,
Code First
,
CTP5
,
.NET
84
Comments
Inheritance with EF Code First: Part 1 – Table per Hierarchy (TPH)
by
mortezam
A simple strategy for mapping classes to database tables might be “one table for every entity persistent class.” This approach sounds simple enough and, indeed, works well until we encounter inheritance. Inheritance is such a visible structural mismatch...
Filed under:
Entity Framework
,
C#
,
Code First
,
CTP5
,
.NET
35
Comments
Associations in EF Code First CTP5: Part 2 – Shared Primary Key Associations
by
mortezam
In the previous blog post I demonstrated how to map a special kind of one-to-one association—a composition with complex types as the first post in a series about entity association mapping with EF Code First. We argued that the relationships between User...
Filed under:
Entity Framework
,
C#
,
Code First
,
CTP5
,
.NET
40
Comments
Associations in EF Code First CTP5: Part 1 – Complex Types
by
mortezam
Last week the CTP5 build of the new Entity Framework Code First has been released by data team at Microsoft. Entity Framework Code-First provides a pretty powerful code-centric way to work with the databases. When it comes to associations, it brings ultimate...
Filed under:
Entity Framework
,
C#
,
Code First
,
CTP5
,
.NET
1
Comments
My First Blog Post
by
mortezam
Finally, here I am, starting my weblog. My name is Morteza Manavi. I am going to blog here mostly about technologies that I am passionate about. They are Core C#, Entity Framework, WCF and ASP.Net MVC as well as software design and architecture. A special...
More Posts