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#
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.