views:

43

answers:

4

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?

A: 

You mean

ASP.Net MVC & LINQ to SQL

Ramesh Vel
A: 

you can try run django with ironpython

diegueus9
+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
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