using System; using System.Collections.Generic; using System.Text; using NHibernate.Mapping.ByCode.Conformist; using NHibernate.Mapping.ByCode; namespace WebRIS.Models.Sys { public class hsysObjPrpMap : ClassMapping { public hsysObjPrpMap() { Lazy(true); ComposedId(x => { x.Property(y => y.Object, z => z.Length(50)); x.Property(y => y.SubObject, z => z.Length(50)); x.Property(y => y.PrpName, z => z.Length(50)); }); Property(x => x.PrpType); Property(x => x.PrpValue, y => y.Length(1000)); Property(x => x.Added); } } }