Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ORM for Database with 1000+ Tables

Tags:

.net

database

orm

I'm looking for a solid ORM for .NET that can handle over a 1000 tables and entities. What can you suggest? Any comments would be appreciated, but those from people who have actually dealt with this challenge and a description of how with what they dealt with it would be appreciated even more.

like image 881
Tyler Jensen Avatar asked Dec 04 '25 20:12

Tyler Jensen


2 Answers

You can give a try LLBLGen and ADO.NET Entity Framework, but for the number of tables, the entity class generation will take a while in any ORM...

like image 58
Christian C. Salvadó Avatar answered Dec 06 '25 11:12

Christian C. Salvadó


NHibernate is a terrific choice. Some pointers would include to ensure you fully understand the session life-cycle as well as its lazy-loading techniques for lists and object references.

like image 27
Ryan Duffield Avatar answered Dec 06 '25 09:12

Ryan Duffield



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!