实体框架是否支持用户定义的数据类型?

时间:2022-06-20 15:40:16

I'm going to be starting work on a new application soon and was looking into using Entity Framework, however the database has User Defined Data Types, from looking online it seems like EF 4 does not support User Defined Data Types. Do anyone know if it is supported on EF5 or EF6? I'm not able to find anything online to say whether support was added in 5 or 6.

我将很快开始开发一个新的应用程序,并研究如何使用实体框架,但是数据库中有用户定义的数据类型,从网上看,好像EF 4不支持用户定义的数据类型。有人知道它是否支持EF5或EF6吗?我在网上找不到任何东西来说明是否在5或6中添加了支持。

1 个解决方案

#1


3  

Yes, this is available in Entity Framework 6, but you'll need to become familiar with complex types.

是的,这在Entity Framework 6中是可用的,但是您需要熟悉复杂类型。

#1


3  

Yes, this is available in Entity Framework 6, but you'll need to become familiar with complex types.

是的,这在Entity Framework 6中是可用的,但是您需要熟悉复杂类型。