|
|
@ -14,6 +14,7 @@ public static class BackfluDbContextModelCreatingExtensions |
|
|
|
b.ToTable(options.TablePrefix + "scmout", options.Schema); |
|
|
|
//Configure ABP properties
|
|
|
|
b.ConfigureByConvention(); |
|
|
|
b.Property(q => q.scmout_id).UseMySqlIdentityColumn().ValueGeneratedOnAdd(); |
|
|
|
b.Property(q => q.scmout_dt_w).HasMaxLength(20); |
|
|
|
b.Property(q => q.scmout_type).HasMaxLength(6); |
|
|
|
b.Property(q => q.scmout_nbr).HasMaxLength(20); |
|
|
@ -26,7 +27,6 @@ public static class BackfluDbContextModelCreatingExtensions |
|
|
|
b.Property(q => q.scmout_in_loc).HasMaxLength(10); |
|
|
|
b.Property(q => q.scmout_stat).HasMaxLength(1); |
|
|
|
b.Property(q => q.BOMVer).HasMaxLength(50); |
|
|
|
b.HasKey(x => new { x.scmout_type,x.scmout_nbr,x.scmout_part,x.scmout_no }); |
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|