/// /// Copyright (c) 2015-2017 Sensus Slovensko a.s. /// using FluentNHibernate.Mapping; namespace SharedDatabase.Mappings { class WaterMeterDataMap : ClassMap { public WaterMeterDataMap() { Id(x => x.Id); Map(x => x.ProductName); Map(x => x.Producer); Map(x => x.DN); Map(x => x.L); Map(x => x.Mounting); #if MUNICH && LANG_DE Map(x => x.NewQnames); #endif Map(x => x.Q4_Qmax); Map(x => x.Q3_Qn); Map(x => x.Q2_Qt); Map(x => x.Q1_Qmin); Map(x => x.MetrologicalClass); Map(x => x.TemperatureClass); Map(x => x.PressureLossClass); Map(x => x.MaxAdmissiblePressure); Map(x => x.FlowProfileSensitivityClass); Map(x => x.ApprovalInfo); Map(x => x.Certificate); Map(x => x.PulsesPerLtr); Map(x => x.ProducerAux); Map(x => x.Q3_Qn_Aux); Map(x => x.MetrologicalClassAux); Map(x => x.ApprovalInfoAux); Map(x => x.Medium); Map(x => x.Text1); Map(x => x.Text2); Map(x => x.Text3); Map(x => x.Text4); Map(x => x.Text5); Map(x => x.Compound); #if HEAT_METER_SUPPORT Map(x => x.HeatMeter); #endif #if ORACLE_DB Map(x => x.WMTypeId); #endif } } }