【发布时间】:2012-08-12 15:05:00
【问题描述】:
对支持 Windows 8 / WP8 关系的 ORM 有何建议?
class Person {
int id;
int Name;
List<Address> Addresses;
}
class Address {
int id;
string Street;
string Country;
}
如果您确实在 person 上创建表,它也应该创建 Address 表,并且任何对 Person 的选择查询也将返回关联的地址。我知道 EF/nHibernate 会这样做,但不幸的是,我们不再使用 WinRT 获得 System.Data。
【问题讨论】:
标签: c# orm windows-runtime