创建C#.net类并创建一个sql数据库

编程入门 行业动态 更新时间:2024-10-26 10:28:22
本文介绍了创建C#类并创建一个sql数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经在Visual Studio 3.5中创建了C#类,根据系统分析,它们之间相互关联良好.我需要找出如何使这种类型的系统直接创建的sql数据库,而无需再次访问sql,然后创建与它们相关的表等等.我希望这些类自动绘制数据库架构.

I have created C# classes in Visual studio 3.5 they are well associated to one another depending to the system analysis. I need to find out how can i make an sql database directly created with this type of system without again going to sql and then create tables relate them and so on. I want the classes to draw automatically the database schema. Any help with this

推荐答案

的任何帮助根据您的问题,您对.Net有所了解,因此创建复杂的类对您而言将是一项艰巨的工作. 我建议您使用ORM来基于数据库生成类.对于初学者,请尝试搜索 NHibernate ( hard-mode ), Codesmith PLINQO ( medium-mode )或 Telerik OpenAccess (简易模式). 我不是在做广告,而是基于我对上述技术的ORM经验. 祝你好运! Based on your question, you have a little knowledge on .Net, so creating complex classes will be a tough job for you. I would suggest that you use ORM to generate classes based on your DB. For starter, try searching for NHibernate(hard-mode), Codesmith PLINQO(medium-mode) or Telerik OpenAccess(Easy-mode). Im not advertising, those were based on my ORM experience for the said technologies. Good luck!

更多推荐

创建C#.net类并创建一个sql数据库

本文发布于:2023-11-06 22:28:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1564845.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:创建一个   数据库   net   sql

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!