SQLMetal 是否支持 SQL-Server 2008 数据类型?
我在 VS2K8 的 3.5 框架项目中使用 LinqToSQL,针对 MS SQL 2k8 运行。
当我使用 Visual Studio 中的设计界面创建表映射时,一切正常。
当我使用 SQLMetal(来自 Windows SDK v6.1)创建表映射时,SQLMetal 抱怨我正在使用的 SQL Server 2k8 数据类型(例如日期和时间)。
SQLMetal 是否支持 SQL Server 2k8 数据类型?我需要更新版本吗?或者我是否必须在可视化设计器中创建映射/恢复为 SQL Server 2k5 数据类型?
谢谢
I'm using LinqToSQL in a 3.5 framework project in VS2K8, running against MS SQL 2k8.
When I create the table mappings using the design surface within Visual Studio everything works fine.
When I create the table mappings using SQLMetal (from the Windows SDK v6.1), SQLMetal complains about about the SQL Server 2k8 datatypes (e.g. date and time) that I'm making use of.
Does SQLMetal support the SQL Server 2k8 datatypes? Do I need an updated version? Or do I have to create my mapping in the visual designer/revert to SQL Server 2k5 datatypes?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知它支持它,所以您可能需要更新版本的 SqlMetal。在初始版本中,当 Visual Studio 2008 启动时,它不支持此功能,因此可能这就是您遇到此问题的原因。
根据 MSDN:
As far as i know it supports it, so you probably need a newer version of SqlMetal. In the initial version, when Visual Studio 2008 was launched it was not supporting this so probably that's why you have this problem.
According to MSDN: