Using Time columns with NHibernate, Fluent NHibernate and SQL Server 2008

Posted by Marnheus on Stack Overflow See other posts from Stack Overflow or by Marnheus
Published on 2010-02-19T14:49:48Z Indexed on 2010/03/25 11:53 UTC
Read the original article Hit count: 895

Hello, I have a table with a time column in my SQL Server 2008 database.

The property of the object I'm trying to map to is a TimeSpan.

How can i tell FluentNHibernate to use the TimeAsTimeSpan NHibernate type, so that I don't have cast problems?

© Stack Overflow or respective owner

Related posts about nhibernate

Related posts about fluent-nhibernate