从sql数据库自动创建业务对象?
我正在考虑编写一个应用程序,直接从 SQL 数据库生成业务对象的代码。这似乎是已经完成的事情,但也许我只是不知道要谷歌做什么。
有谁知道是否存在这样的东西?
I was thinking of writing an application that would generate the code for business objects directly from a sql database. It seems like something that would already have been done but maybe I just don't know what to Google for.
Does anyone know if something like this exists?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你是对的,有很多工具可以做到这一点。大多数都属于 ORM 的范畴。
http://en.wikipedia.org/wiki/List_of_object-relational_mapping_software#.NET
You are correct, there are many tools that do this. Most fall into the realm of an ORM.
http://en.wikipedia.org/wiki/List_of_object-relational_mapping_software#.NET
为什么不使用实体框架?
他们在对象数据库映射方面做得非常出色
Why don't you use Entity Framework?
They have done an excellent job with object-database mapping