how do you translate a space value in a database field to a null in .NET with Fluent NHibernate?
Posted
by gabe
on Stack Overflow
See other posts from Stack Overflow
or by gabe
Published on 2010-03-30T12:18:20Z
Indexed on
2010/03/30
12:23 UTC
Read the original article
Hit count: 393
I am working with a legacy database that stores "blank" values as a single space. Is there a way with Fluent NHibernate, either by way of a convention or mapping override, that I can translate this "blank" value as a .NET null? (I know that I will need to save nulls to this database as a single space still but I will use an save event listener for that).
© Stack Overflow or respective owner