NHibernate Mapping Utility Update

Summary For those who have followed my blog, I have a long-term project called the NHibernate Mapping Generator. This application generates ORM table mapping C# code for the Fluent NHibernate ORM. In this blog post I’m going to describe a few new features to this application. ADO.Net Unit Testing There is an ADO.Net Context that … Read moreNHibernate Mapping Utility Update

Fluent NHibernate Session Magic

Summary If you’ve spent any time with NHibernate or Fluent NHibernate, you’ll know how annoying it is to use the .Query() method in every LINQ query. It’s especially a problem for situations where you must convert Entity Framework or LINQ-to-SQL to NHibernate, since you have to convert every LINQ query in your code. In this … Read moreFluent NHibernate Session Magic

Entity Framework Unit Testing with SQLLocalDB

Summary I’ve published a few blog posts on the usage of SQLLocalDB with NHibernate. Now I’m going to demonstrate how easy it is to use with EF. In fact, SQLLocalDB can be used with ADO queries and LINQ-To-SQL. If you’re dealing with legacy code and your methods use a lot of database access operations, it … Read moreEntity Framework Unit Testing with SQLLocalDB