1
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using iMES.Entity.MappingConfiguration;
|
||||
using iMES.Entity.DomainModels;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace iMES.Entity.MappingConfiguration
|
||||
{
|
||||
public class Quality_DefectMapConfig : EntityMappingConfiguration<Quality_Defect>
|
||||
{
|
||||
public override void Map(EntityTypeBuilder<Quality_Defect>
|
||||
builderTable)
|
||||
{
|
||||
//b.Property(x => x.StorageName).HasMaxLength(45);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
using iMES.Entity.MappingConfiguration;
|
||||
using iMES.Entity.DomainModels;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace iMES.Entity.MappingConfiguration
|
||||
{
|
||||
public class Quality_InComingCheckMapConfig : EntityMappingConfiguration<Quality_InComingCheck>
|
||||
{
|
||||
public override void Map(EntityTypeBuilder<Quality_InComingCheck>
|
||||
builderTable)
|
||||
{
|
||||
//b.Property(x => x.StorageName).HasMaxLength(45);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
using iMES.Entity.MappingConfiguration;
|
||||
using iMES.Entity.DomainModels;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace iMES.Entity.MappingConfiguration
|
||||
{
|
||||
public class Quality_InComingCheckTestItemMapConfig : EntityMappingConfiguration<Quality_InComingCheckTestItem>
|
||||
{
|
||||
public override void Map(EntityTypeBuilder<Quality_InComingCheckTestItem>
|
||||
builderTable)
|
||||
{
|
||||
//b.Property(x => x.StorageName).HasMaxLength(45);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
using iMES.Entity.MappingConfiguration;
|
||||
using iMES.Entity.DomainModels;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace iMES.Entity.MappingConfiguration
|
||||
{
|
||||
public class Quality_OutCheckMapConfig : EntityMappingConfiguration<Quality_OutCheck>
|
||||
{
|
||||
public override void Map(EntityTypeBuilder<Quality_OutCheck>
|
||||
builderTable)
|
||||
{
|
||||
//b.Property(x => x.StorageName).HasMaxLength(45);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
using iMES.Entity.MappingConfiguration;
|
||||
using iMES.Entity.DomainModels;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace iMES.Entity.MappingConfiguration
|
||||
{
|
||||
public class Quality_OutCheckTestItemMapConfig : EntityMappingConfiguration<Quality_OutCheckTestItem>
|
||||
{
|
||||
public override void Map(EntityTypeBuilder<Quality_OutCheckTestItem>
|
||||
builderTable)
|
||||
{
|
||||
//b.Property(x => x.StorageName).HasMaxLength(45);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
using iMES.Entity.MappingConfiguration;
|
||||
using iMES.Entity.DomainModels;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace iMES.Entity.MappingConfiguration
|
||||
{
|
||||
public class Quality_ProcessCheckMapConfig : EntityMappingConfiguration<Quality_ProcessCheck>
|
||||
{
|
||||
public override void Map(EntityTypeBuilder<Quality_ProcessCheck>
|
||||
builderTable)
|
||||
{
|
||||
//b.Property(x => x.StorageName).HasMaxLength(45);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
using iMES.Entity.MappingConfiguration;
|
||||
using iMES.Entity.DomainModels;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace iMES.Entity.MappingConfiguration
|
||||
{
|
||||
public class Quality_ProcessCheckTestItemMapConfig : EntityMappingConfiguration<Quality_ProcessCheckTestItem>
|
||||
{
|
||||
public override void Map(EntityTypeBuilder<Quality_ProcessCheckTestItem>
|
||||
builderTable)
|
||||
{
|
||||
//b.Property(x => x.StorageName).HasMaxLength(45);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
using iMES.Entity.MappingConfiguration;
|
||||
using iMES.Entity.DomainModels;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace iMES.Entity.MappingConfiguration
|
||||
{
|
||||
public class Quality_TemplateMapConfig : EntityMappingConfiguration<Quality_Template>
|
||||
{
|
||||
public override void Map(EntityTypeBuilder<Quality_Template>
|
||||
builderTable)
|
||||
{
|
||||
//b.Property(x => x.StorageName).HasMaxLength(45);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
using iMES.Entity.MappingConfiguration;
|
||||
using iMES.Entity.DomainModels;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace iMES.Entity.MappingConfiguration
|
||||
{
|
||||
public class Quality_TemplateProductMapConfig : EntityMappingConfiguration<Quality_TemplateProduct>
|
||||
{
|
||||
public override void Map(EntityTypeBuilder<Quality_TemplateProduct>
|
||||
builderTable)
|
||||
{
|
||||
//b.Property(x => x.StorageName).HasMaxLength(45);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
using iMES.Entity.MappingConfiguration;
|
||||
using iMES.Entity.DomainModels;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace iMES.Entity.MappingConfiguration
|
||||
{
|
||||
public class Quality_TemplateTestItemMapConfig : EntityMappingConfiguration<Quality_TemplateTestItem>
|
||||
{
|
||||
public override void Map(EntityTypeBuilder<Quality_TemplateTestItem>
|
||||
builderTable)
|
||||
{
|
||||
//b.Property(x => x.StorageName).HasMaxLength(45);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
using iMES.Entity.MappingConfiguration;
|
||||
using iMES.Entity.DomainModels;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace iMES.Entity.MappingConfiguration
|
||||
{
|
||||
public class Quality_TestItemMapConfig : EntityMappingConfiguration<Quality_TestItem>
|
||||
{
|
||||
public override void Map(EntityTypeBuilder<Quality_TestItem>
|
||||
builderTable)
|
||||
{
|
||||
//b.Property(x => x.StorageName).HasMaxLength(45);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user