Monthly Archive: April 2014

FluentNHibernate and SQL Date Generation

FluentNHibernate and SQL Date Generation

So you’d like your SQL entry to have a system generated date/time, eh? Here is a sample table:

To spare you hours dealing with this error:

What you need to do is to use the following mapping for...