Let's say I have a domain object defined something like this:
public class Clown : Entity {
public virtual double ShoeSize { get; set; }
}
But "ShoeSize" in the database (SQL Server 2008R2), is defined as
Decimal(14,2), trying to read this from the database using normally
works fine, but if I'm trying to use an AliasToBeanResultTransformer
throws the following exception: "type System.Decimal can not be
assigned to a property of type System.Double setter".
Anything I can do to fix it without changing the model or the
database?
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.