我在我的EF图表中看到了很多这些导航属性,但不确定它们到底是用来做什么的。就像我在很多表中看到的那样,我有aspnet_Users属性。Error 2Non-Primary-Key column(s) [Field2] are being mapped in both fragments
to different conceptual side properties - data incons
我的客户要求使用EntityFramework构建它。我以前处理过类似节点的数据结构,但从未使用EntityFramework。
在EntityFramework中构建分层类的最佳方法是什么?我使用的是SQL Server 2008和EntityFramework4.0。我应该使用内置的hierarchy数据类型,还是使用ParentID方法?建议将是最受欢迎的。