There were some issues with decimal db type
http://nhjira.koah.net/browse/NH-1594

Are you using latest nh bits?


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Stefan Steinegger
Sent: den 1 juli 2009 13:54
To: nhusers
Subject: [nhusers] Defining a user type for decimal with precision


I have a user type which specifies a decimal with precision and scale
like this:

public IType[] PropertyTypes
{
        get
        {
                return new []
                {
                        TypeFactory.GetDecimalType(36, 18),
                        TypeFactory.GetStringType(100)
                }
        }
}

The problem is, when generating the schema, the string is fine,
defined with a length of 100 (default is 255), but the decimal is
still define as decimal(19,5).

Is this a bug, or am I doing something wrong?



--~--~---------~--~----~------------~-------~--~----~
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