string/varchar size

18 views
Skip to first unread message

RWBradley

unread,
Dec 1, 2012, 4:00:18 PM12/1/12
to sharp...@googlegroups.com
I see the CanGenerateDatabaseSchema schema defaults to nvarchar(255) is the a way to set individual property length. I.e. I want the NVarchar(MAX) is the away of doing it from the class without having to change it manually every time I rune CanGenerateDatabaseSchema? Can I als chaneg from NVarchar to Varchar?
 

Billy McCafferty

unread,
Dec 4, 2012, 5:53:54 PM12/4/12
to sharp...@googlegroups.com
Hi Roy,


I would think that you would be able to apply the same concept at the global level within YourProject.NHibernateProvider/Conventions.cs, but I have not tried to do so yet.

Billy
Reply all
Reply to author
Forward
0 new messages