Is there anything similar to Django data models in ASP.NET MVC where I can easily manipulate my classes and objects and don't worry about SQL realization of it?
+1
A:
I use a combination of FluentNHibernate's AutoMapping and nHibernate. It's pretty close to a Django/Web2Py type setup, minus the auto creation of admin screens.
My Domain models then are completely clean, and if I do have to do mapping manipulation, and it's rare I do, it then resides in AutoMapping overrides that don't clutter up my domain implementation.
Fluent + nHibernate is pretty slick :)
Also, Microsoft's upcoming Entity Framework 4 looks promising, but it's still pretty early in development.
CubanX
2010-08-19 17:18:17
A:
Django uses it's own ORM Implementation, just like ROR uses Active Records. ASP.NET MVC on the other hand doesn't include any type of ORM Implementation. You need to find a good .NET ORM I suggest checking out http://ormbattle.net/
JeremySpouken
2010-08-19 17:25:50