|
SYS-CON.TV Webcasts
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
Top Links You Must Click On
AJAX Silverlight 3 RTM and .NET RIA Services wirth NHibernate
I think NHibernate is an excellent example of the vibrant open source community on .NET that I’d like to support
By: Brad Abrams
Aug. 7, 2009 04:15 PM
I am having a blast with the series where I am updating my simple Mix 09 Business Application demo. In this part, I wanted to explore one of the most popular data access solution for .NET – NHibernate. Many customers finds that the flexibility of NHibernate makes it easier for them to build maintainable and testable applications. As an aside, I think NHibernate is an excellent example of the vibrant open source community on .NET that I’d like to support. You can see the full series here. The demo requires (all 100% free and always free):
Also, download the full demo files and check out the running application. Basically what I wanted to do was switch over my DomainService from getting its data from Entity Framework to getting its data from NHibernate. The rest of the application stays effectively the same. To start with I grabbed the code from the previous walk through, deleted the edmx file. Below is the code I use to create the NHibernate SessionFactory. The fluent interface makes it very easy to configure. Enterprise Open Source Magazine Latest Stories . . .
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||