|
|
@ -31,7 +31,7 @@ public static class ExchangeDataDbContextModelCreatingExtensions |
|
|
|
b.Property(p => p.ErrorCode).IsRequired().HasMaxLength(SfsPropertyConst.NameLength).HasConversion<string>(); |
|
|
|
b.Property(p => p.ErrorMessage).HasMaxLength(SfsPropertyConst.RemarkLength); |
|
|
|
b.Property(p => p.TyrpNumber).IsRequired().HasDefaultValueSql(); |
|
|
|
b.Property(p => p.TyrpNumber).IsRequired().HasMaxLength(SfsPropertyConst.CodeLength); |
|
|
|
//b.Property(p => p.TyrpNumber).IsRequired().HasMaxLength(SfsPropertyConst.CodeLength);
|
|
|
|
//Relations
|
|
|
|
|
|
|
|
//Indexes
|
|
|
|