Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ORM for simple .NET app [closed]

I need to develop a .NET 4 application with an MS SQL Server 2008 database. There will be about 5-6 "classes." I am familiar with developing applications in Python/SqlAlchemy ORM.

Is there any simple mechanism to do the following tasks?

  • create classes and their dependencies
  • automatically create database tables and query classes in C#
like image 527
Cartesius00 Avatar asked Jan 30 '26 22:01

Cartesius00


1 Answers

Take a look at Entity Framework 4.1 "Code First". It lets you describe the data model in code, and as you say, then let magic happen.

like image 117
Peter Lillevold Avatar answered Feb 01 '26 13:02

Peter Lillevold



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!