title: How to map table splitting in EF Code First?
body: <p>How can I map table splitting with EF Code First? Table splitting for EDMX is described for example <a href="http://thedatafarm.com/blog/data-access/ef-table-splitting-ndash-the-opposite-of-entity-splitting/" rel="noreferrer">here</a>. It allows mapping two entities with 1:1 relation into same table. I know I can do the similar mapping with <a href="http://weblogs.asp.net/manavi/archive/2010/12/11/entity-association-mapping-with-code-first-part-1-one-to-one-associations.aspx" rel="noreferrer">entity and complex type</a> but the big difference is that complex type can't be lazy loaded (or not loaded at all) which is the main reason for table splitting.</p>