对于EF5 找不到上述标签是因为 在程序集中要using System.ComponentModel.DataAnnotations.Schema
而这个命名空间在 EntityFramework.dll中 ,没有在System.ComponentModel.DataAnnotations这个dll中
所以说对于纯种的poco程序集怕是麻烦了。
对于EF5 找不到上述标签是因为 在程序集中要using System.ComponentModel.DataAnnotations.Schema
而这个命名空间在 EntityFramework.dll中 ,没有在System.ComponentModel.DataAnnotations这个dll中
所以说对于纯种的poco程序集怕是麻烦了。
转载于:https://www.cnblogs.com/fej121/archive/2013/04/27/3046182.html