37 lines
820 B
C#
37 lines
820 B
C#
using FluentNHibernate.Mapping;
|
|
using TBF.Entities;
|
|
|
|
namespace TBF.Mappings
|
|
{
|
|
class TestMap : ClassMap<Test>
|
|
{
|
|
public TestMap()
|
|
{
|
|
Id(x => x.Id);
|
|
Map(x => x.ItemNr);
|
|
Map(x => x.Name);
|
|
Map(x => x.Qfrom);
|
|
Map(x => x.Qto);
|
|
Map(x => x.Volume);
|
|
Map(x => x.TstTime);
|
|
Map(x => x.Repeats);
|
|
Map(x => x.Emptying);
|
|
Map(x => x.Zeroing);
|
|
Map(x => x.Method);
|
|
Map(x => x.ErrLimLo);
|
|
Map(x => x.ErrLimHi);
|
|
Map(x => x.TolerRed); /// ???
|
|
Map(x => x.RedType); /// ???
|
|
Map(x => x.FeedingPath);
|
|
Map(x => x.BenchPath);
|
|
Map(x => x.OutputPath);
|
|
Map(x => x.MetersPath);
|
|
Map(x => x.TransitionStart);
|
|
Map(x => x.TransitionEnd);
|
|
HasMany(x => x.MoreParams)
|
|
.Cascade.All();
|
|
References(x => x.Procedure);
|
|
}
|
|
}
|
|
}
|