I have a FluentNHibernate-Mapping definition:
this.Map(x => x.Discount).Precision(8).Scale(2).Not.Nullable();
And this property in the object for discount:
public virtual Decimal Discount { get; set; }
But the schema (for SQL-Server) created by NHibernate now contains:
Discount NUMERIC(19, 0) not null,
Can someone help me what is wrong?
source
share