using FluentNHibernate.Mapping; using Sleis.Models; using System; namespace Sleis.Mapping { public class EpaFacilityGeoReferencePointMap : ClassMap { public EpaFacilityGeoReferencePointMap() { Table("E_GEO_REF_PT"); Id(x => x.Code).Column("E_GEO_REF_PT_CD").GeneratedBy.Assigned(); Map(x => x.Description).Column("GEO_REF_PT_DESC"); Component(x => x.Epa); } } }