TracingDB : Cleaned-up and upgraded to current version, TBF : Workplace registered for approx. 2 weeks.

This commit is contained in:
Milan Hanajik
2019-03-01 14:16:04 +01:00
parent 02f6c9264a
commit 13eb7138a3
29 changed files with 741 additions and 825 deletions
-21
View File
@@ -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);
}
}
}
-21
View File
@@ -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);
}
}
}
+1 -1
View File
@@ -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)