0
我使用实体框架6,采用数据库优先方式与postgresql
(npgsql)。我有这样的表列在postgresql
自定义数据类型(域):带有npgsql的C#实体框架6 postgresql自定义数据类型未映射到edmx
image: table with custom data type
当我尝试从模型做更新数据库这个表,是不是在.net中产生的allocation_type
列。
如何将此自定义数据类型列映射到我的.edmx
文件?有什么建议么?
感谢您的帮助!
也许你必须将其设置为[复杂类型](https://msdn.microsoft.com/en-us/library/jj680147(v = vs.113).aspx) –