在mvc中建立model连接数据库中用到Table属性指向数据库中的某一个表格,结果报错为:System.ComponentModel.DataAnnotations.Schema.TableAttribute同时存在于EntityFramework.dll和System.ComponentModel.DataAnnotations.dll中。
显示截图:Table属性不识别
在mvc中建立model连接数据库中用到Table属性指向数据库中的某一个表格,结果报错为:System.ComponentModel.DataAnnotations.Schema.TableAttribute同时存在于EntityFramework.dll和System.ComponentModel.DataAnnotations.dll中。
显示截图:Table属性不识别