Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ORMs that generate database structures from classes

Tags:

asp.net

orm

I have looked at NHibernate and EntitySpaces and they both seem to work differently.

In EntitySpaces, you define the database tables and table relationships and the classes are generated for you.

In NHibernate, you define the classes and the table relationships are generated for you. This is what I am looking for.

Are there any other ASP.NET ORMs that generate tables from classes like NHibernate? Any recommendations?

like image 649
Petras Avatar asked Sep 21 '26 09:09

Petras


1 Answers

DataObjects.Net also uses "Code first" (Model first) approach. See http://wiki.dataobjects.net/index.php?title=Features

like image 88
Dmitry Avatar answered Sep 23 '26 01:09

Dmitry