我该如何清理解决方案?

时间:2013-09-25 16:05:47

标签: oracle visual-studio

我正在尝试使用Visual Studio 2012和Oracle 10g创建实体数据模型。 我一直收到这个错误:

   Error    1   Error 2019: Member Mapping specified is not valid. The type 'Edm.Decimal[Nullable=False,DefaultValue=,Precision=32,Scale=0]' of member 'SEC_ID' in type 'Model.SEC' is not compatible with 'OracleEFProvider.number[Nullable=False,DefaultValue=,Precision=10,Scale=0]' of member 'QUARTAL_SEC_ID' in type 'Model.Store.QUARTAL'.   

我尝试删除模型并从头开始生成更多次。我没有导入关联。我还清理了多次解决方案。无论我做什么,visual Studio都会看到关联。

事实上,sec_id在数据库中有数字(32)和quartal_sec_id - 数字(10)。我不能在那里改变它。我希望在VS中修复它。我希望在我选择此选项时VS不会导入关联。我已将VS12中的映射详细信息中的两种类型更改为int32。但它没有帮助。

0 个答案:

没有答案
相关问题