In today’s episode of our Meet the Author podcast Fritz Onion talks to James Kovacs about his course NHibernate Fundamentals. In the interview, James explains why developers might consider using NHibernate as well as how it compares to other ORM products such as Entity Framework. He also discusses the differences in approach to using NHibernate for code-first and schema-first development.
[Fritz] Hi, this is Fritz Onion. Today, I’m speaking with James Kovacs about his new course, NHibernate Fundamentals. James is a technical evangelist for JetBrains; he’s passionate in sharing his knowledge about object-oriented programming, SOLID, TDD and BDD testing, object-relational mapping, dependency injection and refactoring, continuous integration and other techniques. He blogs on Codebetter.com as well as his own blog, writes articles for MSDN Magazine and CoDe Magazine, and is a frequent speaker at conferences and user groups; and of course, he’s a popular author right here at Pluralsight. So welcome, James.
Orchard is an ASP.NET based CMS system that is built on the latest .NET technologies including MVC, NHibernate, Autofac, and Castle. In this video excerpt from Kevin Kuebler’s course Advanced Orchard you’ll see how to create the data model for an Orchard extension using NHibernate integration. In the full course Kevin covers other topics such as creating custom modules and content parts, non content data and MVC, and customizing layouts.
It’s been called “The Vietnam of Computer Science” and debate over which ORM is the best has been known to cause normally docile techno-types to break out into rage fueled fisticuffs. People have a very emotional bond with their tools and ORMs seem to be particularly precious to those that use them. So we’re going to throw caution to the wind and ask the big question, Which ORM is Best for .NET?
If there are others that you think should be on the list, hit the comment link below and we’ll add them.
Want to know how NHibernate maps a String type to an NChar? In this video excerpt from James Kovacs’ course NHibernate Fundamentals you’ll see how NHibernate is able to infer the types of your database table columns from your strongly typed .NET classes as well as how to control mapping of enumerations. In the complete course James goes on to cover the topics of relationships, querying, and lazy loading.