NHibernate. Object/Relational Persistence for .NET. A little bit of background information…. .NET port of the Hibernate project (Java). Mature architecture and proven c oncepts, already in use in many enterprise Java applications. Already quite popular in the .NET world as well.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Object/Relational Persistence for .NET
concepts, already in use in many
enterprise Java applications
Full OO support: inheritance, polymorphism, composition, single-valued and many-valued associations
lazy coding ( = abuse of lazy loading )
(some companies just don’t like that)
Let’s look at some of the things we can do with NHibernate…
=> fine-grained control over cascade settings
Storing data in the database in an easy manner is great and all, but what about getting it out again?
Wouldn’t it be great if we could execute multiple queries in only one database roundtrip?
This is ideal for static (reference) data or even data that doesn’t change frequently
NHibernate will never cache anything in the Second Level Cache automatically
That’s up to you… multiple providers are available: ASP.NET cache, MemCached, Velocity, Prevalence, …
At this point, I’m almost running out of time and there is a lot more interesting stuff that we won’t get to cover.
If you want to learn more, be sure to visit http://nhforge.org
Oh, and check out my blog if you liked this presentation: http://davybrion.com