|
@ -121,11 +121,26 @@ public class IdentityDbSeed : IDbSeed<IdentityDbContext> |
|
|
|
|
|
|
|
|
private void InitTestDate(IdentityDbContext context) |
|
|
private void InitTestDate(IdentityDbContext context) |
|
|
{ |
|
|
{ |
|
|
context.Set<HBPO_SA>().Add(new HBPO_SA { Version = "测试数据", BillNum = "测试数据", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); |
|
|
context.Set<HBPO_SA>().Add(new HBPO_SA { Version = "测试数据", BillNum = "123", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); |
|
|
context.Set<BBAC_SA>().Add(new BBAC_SA { Version = "测试数据", BillNum = "测试数据", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); |
|
|
context.Set<HBPO_SA_DETAIL>().Add(new HBPO_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" }); |
|
|
context.Set<JIT_SA>().Add(new JIT_SA { Version = "测试数据", BillNum = "测试数据", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); |
|
|
context.Set<BBAC_SA>().Add(new BBAC_SA { Version = "测试数据", BillNum = "123", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); |
|
|
context.Set<BJ_SA>().Add(new BJ_SA { Version = "测试数据", BillNum = "测试数据", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); |
|
|
context.Set<BBAC_SA_DETAIL>().Add(new BBAC_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据", Category = "测试数据", IsReturn = "测试数据" }); |
|
|
context.Set<IN_SA>().Add(new IN_SA { Version = "测试数据", BillNum = "测试数据", DNBillNum = "测试数据", State = "测试数据" }); |
|
|
context.Set<JIT_SA>().Add(new JIT_SA { Version = "测试数据", BillNum = "123", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); |
|
|
|
|
|
context.Set<JIT_SA_DETAIL>().Add(new JIT_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" }); |
|
|
|
|
|
context.Set<BJ_SA>().Add(new BJ_SA { Version = "测试数据", BillNum = "123", DNBillNum = "测试数据", State = "测试数据", RecordCount = "测试数据" }); |
|
|
|
|
|
context.Set<BJ_SA_DETAIL>().Add(new BJ_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), GroupNum = "测试数据" }); |
|
|
|
|
|
context.Set<IN_SA>().Add(new IN_SA { Version = "测试数据", BillNum = "123", DNBillNum = "测试数据", State = "测试数据" }); |
|
|
|
|
|
context.Set<IN_SA_DETAIL>().Add(new IN_SA_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PU = "测试数据", Site = "测试数据",SettleDate = new DateTime(), GroupNum = "测试数据" }); |
|
|
|
|
|
context.Set<HBPO_DN>().Add(new HBPO_DN { Version = "测试数据", DNBillNum = "123", StockCount = "测试数据" }); |
|
|
|
|
|
context.Set<HBPO_DN_DETAIL>().Add(new HBPO_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "测试数据" }); |
|
|
|
|
|
context.Set<BBAC_DN>().Add(new BBAC_DN { Version = "测试数据", DNBillNum = "123", StockCount = "测试数据" }); |
|
|
|
|
|
context.Set<BBAC_DN_DETAIL>().Add(new BBAC_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", BillNum = "123", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "测试数据" }); |
|
|
|
|
|
context.Set<JIT_DN>().Add(new JIT_DN { Version = "测试数据", DNBillNum = "123", StockCount = "测试数据" }); |
|
|
|
|
|
context.Set<JIT_DN_DETAIL>().Add(new JIT_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "测试数据" }); |
|
|
|
|
|
context.Set<BJ_DN>().Add(new BJ_DN { Version = "测试数据", DNBillNum = "123", StockCount = "测试数据" }); |
|
|
|
|
|
context.Set<BJ_DN_DETAIL>().Add(new BJ_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", LU = "测试数据", PN = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "测试数据" }); |
|
|
|
|
|
context.Set<IN_DN>().Add(new IN_DN { Version = "测试数据", DNBillNum = "123", StockCount = "测试数据" }); |
|
|
|
|
|
context.Set<IN_DN_DETAIL>().Add(new IN_DN_DETAIL { KeyCode = "测试数据", Version = "测试数据", LU = "测试数据", PU = "测试数据", Site = "测试数据", SettleDate = new DateTime(), State = "测试数据", INVGroupNum = "测试数据", GroupNum = "测试数据", DNBillNum = "测试数据" }); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private void InitDictionaries(DbContext context) |
|
|
private void InitDictionaries(DbContext context) |
|
|