I have an entity with a double property, in the database this column
is a float.
During SchemaValidation I get an exception stating that it expected
"double precision".
If I, using ConfORM, set the property type to be "Single" it instead
expects a "real".

I've tried the following different ones:
mapper.Class<Balloon>(cm => {
    cm.Property(o => o.Size, pm =>
pm.Type(NHibernate.NHibernateUtil.Single));
});
mapper.Class<Balloon>(cm => {
    cm.Property(o => o.Size, pm =>
pm.Type(NHibernate.NHibernateUtil.Double));
});
& also
mapper.Class<Balloon>(cm => {
    cm.Property(o => o.Size, pm => pm.Type(GuessType(typeof(float))));
});


public class Balloon : Entity {
     public double Size { get; set; }
}

or what could I change the column to, since there is no "double
precision" available in sql-server, or from what I can understand the
"float" data type in sql server is exactly that.?

Cheers!

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to