TracingDB : Cleaned-up and upgraded to current version, TBF : Workplace registered for approx. 2 weeks.
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
using FluentNHibernate.Mapping;
|
||||
|
||||
namespace TracingDB.Mappings
|
||||
{
|
||||
class Option1Map : ClassMap<Entities.Option1>
|
||||
{
|
||||
public Option1Map()
|
||||
{
|
||||
Id(x => x.Id);
|
||||
Map(x => x.ItemNr);
|
||||
Map(x => x.Name);
|
||||
Map(x => x.OraDBType);
|
||||
Map(x => x.Description);
|
||||
Map(x => x.CodeType);
|
||||
Map(x => x.CodeForm);
|
||||
Map(x => x.CodeLocation);
|
||||
Map(x => x.LifetimeManagement);
|
||||
Map(x => x.Enabled);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
using FluentNHibernate.Mapping;
|
||||
|
||||
namespace TracingDB.Mappings
|
||||
{
|
||||
class Option2Map : ClassMap<Entities.Option2>
|
||||
{
|
||||
public Option2Map()
|
||||
{
|
||||
Id(x => x.Id);
|
||||
Map(x => x.ItemNr);
|
||||
Map(x => x.Name);
|
||||
Map(x => x.OraDBType);
|
||||
Map(x => x.Description);
|
||||
Map(x => x.CodeType);
|
||||
Map(x => x.CodeForm);
|
||||
Map(x => x.CodeLocation);
|
||||
Map(x => x.LifetimeManagement);
|
||||
Map(x => x.Enabled);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -23,7 +23,7 @@ namespace TracingDB.Mappings
|
||||
Map(x => x.ReleaseStatus);
|
||||
|
||||
HasMany(x => x.Parts)
|
||||
.OrderBy("Name")
|
||||
.OrderBy("StepNumber")
|
||||
.Cascade.All();
|
||||
|
||||
HasMany(x => x.Worksteps)
|
||||
|
||||
Reference in New Issue
Block a user