sorry. premature send.

public class MyMap: Classmap<My>
{
   public const string TABLE = "MY_TABLE";

   public static class Fields
   {
      public const string MY_ID = "MY_ID";
      public const string FIELD_1 = "FIELD_1";
   }


   public MyMap()
   {
       base.Table(MyMap.TABLE);

       base.Id(x=>x.Id, Fields.MY_ID);

       base.Map(x=>x.Field1, Fields.FIELD_1);
   }
}

-- 
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