Hi,
Could some one help, how would I instruct automap to have not-null for
a cloumn?

    public class Paper : Entity
    {
        public Paper() { }

                [DomainSignature]
                [NotNull, NotEmpty]
                public virtual string ReferenceNumber { get; set; }


                [NotNull]
                public virtual Int32 SessionWeek { get; set; }
    }

But I am getting the following:
    <property name="SessionWeek" type="System.Int32, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <column name="SessionWeek" />
    </property>


I know it can be done using fluent-map. but i would like to know it in
auto-mapping way. Many thanks.

Regards
Robie

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" 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/fluent-nhibernate?hl=en.

Reply via email to