Hi,
I'm new to using nHibernate.
I'm trying to use the check constraint as the column in the database
has a constraint that the value must be between 0 and 31.
How would I express that in the check constraint? I am battling to
find examples on the internet.
[Property("CollectionDay", ColumnType = "Int32", NotNull = true, Check
= "([CollectionDay]>(0) AND [CollectionDay]<=(31)")]
This throw an error about the "<" character.
Could someone please shed some light on how to use this constraint
please.
Thanks,
Jeremy
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---