What is the best way to map UInt32 type to sql-server int type with NHibernate.
The value is a picture width/height so negative value are not make sense here.
But maybe I should use int because NHibenate doesn’t support unassigned ints.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can map the column with an IUserType.
And the IUserType which maps
UInt32?andUInt32.