无法使用命名空间“System.ComponentModel.DataAnnotations.Schema”

时间:2012-10-10 05:18:31

标签: c# asp.net data-annotations

  

可能重复:
  MVC4 API on Azure WebSites or Azure Cloud Services [Error] : ‘System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption’

我已添加对实体框架5.0的引用以及.net 4.5中的System.ComponentModel.DataAnnotations但仍无法访问命名空间“System.ComponentModel.DataAnnotations.Schema”。我错过了其他任何组装吗?我在.net 4.5文件夹中找不到任何System.ComponentModel.DataAnnotations.Schema.dll文件

0 个答案:

没有答案