nHibernate + Mvc3 Sample Application

后端 未结 2 2152
囚心锁ツ
囚心锁ツ 2021-02-15 14:31

I\'m looking for a decent codebase that demonstrates how to use nHibernate as the persistance layer in an asp.net mvc3 project.

The two key pieces of understanding that

2条回答
  •  故里飘歌
    2021-02-15 15:36

    I put together a project that offers an example of how to do this using nhibernate and asp.net mvc 2. The repository and nhibernate implementations will be almost the same. Probably the biggest change will be the ioc / dependency injection piece. Take a look. It should provide a solid starting point. Here is the URL.

    http://gpsnerd.codeplex.com

    Let me know if you have questions.

    Bob

提交回复
热议问题