How to map XML column to string property in NHibernate in c#?
The property is defined as :
public virtual string Request { get; protected set; }
In mapping class I have:
Map(o => o.Request).Column("Request").Nullable();
I am getting following exception while selecting data from db:
the data types xml and nvarchar are incompatible in the equal to operator. nhibernate
I hope it has something to do with CustomType<> but dont know how. Please help.