【发布时间】:2011-07-03 10:35:51
【问题描述】:
我有这个架构:
create table Person
(
id int identity primary key,
name nvarchar(30)
)
create table PersonPersons
(
PersonId references Person(id),
ChildPersonId references Person(id)
)
如何使用 EF4 Code First CTP5 创建类以映射它们?
【问题讨论】:
标签: entity-framework entity-framework-4 code-first entity-framework-ctp5 ef-code-first