Property(x => x.EmailAddress, m =>

                     {

                           m.Length(100);

                           m.NotNullable(false);

                     });

 

From: [email protected] [mailto:[email protected]] On
Behalf Of Sean Farrow
Sent: 09 May 2013 13:51
To: '[email protected]'
Subject: [nhusers] Making properties when mapping by code

 

Hi,

 

I'm using mapping by code to map a class to a database table.

I'd like specific columns to be nullable. How do I do this when mapping
by code? Will a nullable type in the class itself suffice?

Cheers

Sean.

-- 
You received this message because you are subscribed to the Google
Groups "nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to