|
@ -24,6 +24,9 @@ public static class PositionCodeDbContextModelCreatingExtensions |
|
|
|
|
|
|
|
|
b.Property(q => q.LocationCode).HasMaxLength(SfsPropertyConst.CodeLength); |
|
|
b.Property(q => q.LocationCode).HasMaxLength(SfsPropertyConst.CodeLength); |
|
|
b.Property(q => q.PartCode).HasMaxLength(SfsPropertyConst.CodeLength); |
|
|
b.Property(q => q.PartCode).HasMaxLength(SfsPropertyConst.CodeLength); |
|
|
|
|
|
b.Property(q => q.PartName).HasMaxLength(SfsPropertyConst.NameLength); |
|
|
|
|
|
b.Property(q => q.LocationName).HasMaxLength(SfsPropertyConst.NameLength); |
|
|
|
|
|
b.Property(q => q.Type).HasMaxLength(SfsPropertyConst.NameLength).HasConversion<string>(); |
|
|
|
|
|
|
|
|
//Relations
|
|
|
//Relations
|
|
|
//None
|
|
|
//None
|
|
|