|
@@ -2,9 +2,9 @@ using Business.Core.Extensions;
|
|
|
using Business.Model;
|
|
using Business.Model;
|
|
|
using Business.Models;
|
|
using Business.Models;
|
|
|
using Bussiness.Model.MES.IC;
|
|
using Bussiness.Model.MES.IC;
|
|
|
-using Bussiness.Model.MES.PO;
|
|
|
|
|
using Bussiness.Model.Production;
|
|
using Bussiness.Model.Production;
|
|
|
using Bussiness.Model.ProductionProcess;
|
|
using Bussiness.Model.ProductionProcess;
|
|
|
|
|
+using Bussiness.Model.SRM;
|
|
|
using Bussiness.Model.SystemData;
|
|
using Bussiness.Model.SystemData;
|
|
|
using Bussiness.Model.Tech;
|
|
using Bussiness.Model.Tech;
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore;
|
|
@@ -121,9 +121,9 @@ namespace Business.EntityFrameworkCore
|
|
|
b.ConfigureByConvention();
|
|
b.ConfigureByConvention();
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- builder.Entity<ic_purchase>(b =>
|
|
|
|
|
|
|
+ builder.Entity<srm_purchase>(b =>
|
|
|
{
|
|
{
|
|
|
- b.ToTable("ic_purchase").HasComment("昜蹋粒劃陓洘桶");
|
|
|
|
|
|
|
+ b.ToTable("srm_purchase").HasComment("昜蹋粒劃陓洘桶");
|
|
|
|
|
|
|
|
b.ConfigureByConvention();
|
|
b.ConfigureByConvention();
|
|
|
});
|
|
});
|
|
@@ -149,30 +149,30 @@ namespace Business.EntityFrameworkCore
|
|
|
b.ConfigureByConvention();
|
|
b.ConfigureByConvention();
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- builder.Entity<po_list>(b =>
|
|
|
|
|
|
|
+ builder.Entity<srm_po_list>(b =>
|
|
|
{
|
|
{
|
|
|
- b.ToTable("po_list").HasComment("粒劃隆等隴牉砆ロ");
|
|
|
|
|
|
|
+ b.ToTable("srm_po_list").HasComment("粒劃隆等隴牉砆ロ");
|
|
|
|
|
|
|
|
b.ConfigureByConvention();
|
|
b.ConfigureByConvention();
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- builder.Entity<po_main>(b =>
|
|
|
|
|
|
|
+ builder.Entity<srm_po_main>(b =>
|
|
|
{
|
|
{
|
|
|
- b.ToTable("po_main").HasComment("粒劃隆等");
|
|
|
|
|
|
|
+ b.ToTable("srm_po_main").HasComment("粒劃隆等");
|
|
|
|
|
|
|
|
b.ConfigureByConvention();
|
|
b.ConfigureByConvention();
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- builder.Entity<po_occupy>(b =>
|
|
|
|
|
|
|
+ builder.Entity<srm_po_occupy>(b =>
|
|
|
{
|
|
{
|
|
|
- b.ToTable("po_occupy").HasComment("粒劃隆等梩蚚砆ロ");
|
|
|
|
|
|
|
+ b.ToTable("srm_po_occupy").HasComment("粒劃隆等梩蚚砆ロ");
|
|
|
|
|
|
|
|
b.ConfigureByConvention();
|
|
b.ConfigureByConvention();
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- builder.Entity<pr_main>(b =>
|
|
|
|
|
|
|
+ builder.Entity<srm_pr_main>(b =>
|
|
|
{
|
|
{
|
|
|
- b.ToTable("pr_main").HasComment("粒劃扠ワ等");
|
|
|
|
|
|
|
+ b.ToTable("srm_pr_main").HasComment("粒劃扠ワ等");
|
|
|
|
|
|
|
|
b.ConfigureByConvention();
|
|
b.ConfigureByConvention();
|
|
|
});
|
|
});
|