【问题标题】:Entity Framework mapping实体框架映射 【发布时间】:2010-10-09 20:51:00 【问题描述】: 谁有实体框架的“真实”映射场景的好示例。不是那种简单的表实体之一;-) 【问题讨论】: 标签: entity-framework .net-3.5 【解决方案1】: 你应该看看MSDN上的Defining Advanced Data Models文章,它有以下主题: Define a Model with a Stored Procedure Define a Model with Modification Stored Procedures Define a Model with Complex Type Define a Model with Table-per-Type Inheritance Define a Model with Table-per-Hierarchy Inheritance Define a Model with Multiple Entity Sets per Type Define a Model with Single Entity Mapped to Two Tables Define a Model with a Horizontal Partition in the Storage Model 【讨论】: