Click here to Skip to main content
15,922,166 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Comments
Sergey Alexandrovich Kryukov 19-Apr-11 4:24am    
This is quite possible, but what do you mean "draw"? If this is graphics, the approach is wrong.
--SA
Sandeep Mewara 19-Apr-11 4:59am    
Not clear on what exactly you are trying and looking for.

1 solution

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!
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900