使用实体映射CLR SQL类型 [英] Map clr sql type with entity

查看:80
本文介绍了使用实体映射CLR SQL类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我有一个很大的数据库.其中的某些表具有clr列类型.
我的clr sql类型是我的文化的日期类型.

如何在实体框架中映射此类型?

感谢

Hi I have a big database. Some table in it has clr column type.
My clr sql type is a date type for my culture.

How can i map this type in entity framework ?

thanks

推荐答案

您的问题实际上还不清楚.但是,当我读了好几次(到现在,它在未回答的问题"上停留了相当长的时间)之后,我想我就明白了您的问题;
我想您想要的是一种将大型数据库映射"到ERD(实体关系图)的方法,对吗?如果是这样,您可能要尝试使用Microsoft Visio.它具有数据库工程功能,可帮助您基于大型数据库(包括自定义数据类型)创建ERD.

hth,
foxyland
Your question is unclear actually. But after I read it several times ( it stayed on ''Unanswered questions'' for quite a while by now), I think I grasp your problem;
I guess what you want is a way to ''map'' your big database into an ERD (Entity Relationship Diagram), is that right? If it is, you might want to try Microsoft Visio. It has Database Engineering feature that would help you to create an ERD based on your big database --- including custom data types.

hth,
foxyland


这篇关于使用实体映射CLR SQL类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆