tbf/TestBenchFramework/Mappings/MeterTestResultMap.cs
Milan Hanajik 8ff05bcccf - StartValve added to OutputPath
- bug fixed in MeterTestResultMap: 'EndState' was not mapped into the database
2014-09-03 16:55:09 +02:00

25 lines
632 B
C#

using FluentNHibernate.Mapping;
using TBF.Entities;
namespace TBF.Mappings
{
class MeterTestResultMap : ClassMap<MeterTestResult>
{
public MeterTestResultMap()
{
Id(x => x.Id);
References(x => x.TestResult);
Map(x => x.SerialNr);
Map(x => x.EndState);
Map(x => x.VolumeStart);
Map(x => x.VolumeEnd);
Map(x => x.VolumeMeter);
Map(x => x.VolumeRef);
Map(x => x.VolumeErrorPct);
Map(x => x.PulsesMeter);
Map(x => x.PulsesMaster);
Map(x => x.Time);
}
}
}