|
|
@@ -515,41 +515,61 @@ namespace Business.EntityFrameworkCore
|
|
|
b.HasNoKey();
|
|
|
b.Property(b => b.create_date).HasDefaultValue(DateTime.Now);
|
|
|
b.ConfigureByConvention();
|
|
|
+
|
|
|
});
|
|
|
+
|
|
|
builder.Entity<sqe_cto_process_data>(b =>
|
|
|
{
|
|
|
b.ToTable("sqe_cto_process_data");
|
|
|
b.HasNoKey();
|
|
|
b.Property(b => b.create_date).HasDefaultValue(DateTime.Now);
|
|
|
b.ConfigureByConvention();
|
|
|
+
|
|
|
});
|
|
|
+
|
|
|
builder.Entity<sqe_cto_process_standard>(b =>
|
|
|
{
|
|
|
b.ToTable("sqe_cto_process_standard");
|
|
|
b.HasNoKey();
|
|
|
b.Property(b => b.create_date).HasDefaultValue(DateTime.Now);
|
|
|
b.ConfigureByConvention();
|
|
|
+
|
|
|
});
|
|
|
+
|
|
|
builder.Entity<sqe_cto_test>(b =>
|
|
|
{
|
|
|
b.ToTable("sqe_cto_test");
|
|
|
b.HasNoKey();
|
|
|
b.Property(b => b.create_date).HasDefaultValue(DateTime.Now);
|
|
|
b.ConfigureByConvention();
|
|
|
+
|
|
|
});
|
|
|
+
|
|
|
builder.Entity<sqe_cto_test_data>(b =>
|
|
|
{
|
|
|
b.ToTable("sqe_cto_test_data");
|
|
|
b.HasNoKey();
|
|
|
b.Property(b => b.create_date).HasDefaultValue(DateTime.Now);
|
|
|
b.ConfigureByConvention();
|
|
|
+
|
|
|
});
|
|
|
+
|
|
|
builder.Entity<sqe_cto_test_standard>(b =>
|
|
|
{
|
|
|
b.ToTable("sqe_cto_test_standard");
|
|
|
b.HasNoKey();
|
|
|
b.Property(b => b.create_date).HasDefaultValue(DateTime.Now);
|
|
|
b.ConfigureByConvention();
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+ builder.Entity<sqe_file_data>(b =>
|
|
|
+ {
|
|
|
+ b.ToTable("sqe_file_data");
|
|
|
+ b.HasNoKey();
|
|
|
+ //b.Property(b => b.create_date).HasDefaultValue(DateTime.Now);
|
|
|
+ b.ConfigureByConvention();
|
|
|
+
|
|
|
});
|
|
|
|
|
|
builder.Entity<sqe_file_upload>(b =>
|
|
|
@@ -558,6 +578,97 @@ namespace Business.EntityFrameworkCore
|
|
|
b.HasNoKey();
|
|
|
b.Property(b => b.create_date).HasDefaultValue(DateTime.Now);
|
|
|
b.ConfigureByConvention();
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+ builder.Entity<sqe_oqc>(b =>
|
|
|
+ {
|
|
|
+ b.ToTable("sqe_oqc");
|
|
|
+ b.HasNoKey();
|
|
|
+ b.Property(b => b.create_date).HasDefaultValue(DateTime.Now);
|
|
|
+ b.ConfigureByConvention();
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+ builder.Entity<sqe_oqc_data>(b =>
|
|
|
+ {
|
|
|
+ b.ToTable("sqe_oqc_data");
|
|
|
+ b.HasNoKey();
|
|
|
+ b.Property(b => b.create_date).HasDefaultValue(DateTime.Now);
|
|
|
+ b.ConfigureByConvention();
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+ builder.Entity<sqe_oqc_standard>(b =>
|
|
|
+ {
|
|
|
+ b.ToTable("sqe_oqc_standard");
|
|
|
+ b.HasNoKey();
|
|
|
+ b.Property(b => b.create_date).HasDefaultValue(DateTime.Now);
|
|
|
+ b.ConfigureByConvention();
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+ builder.Entity<sqe_fpy>(b =>
|
|
|
+ {
|
|
|
+ b.ToTable("sqe_fpy");
|
|
|
+ b.HasNoKey();
|
|
|
+ b.Property(b => b.create_date).HasDefaultValue(DateTime.Now);
|
|
|
+ b.ConfigureByConvention();
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+ builder.Entity<sqe_fpy_data>(b =>
|
|
|
+ {
|
|
|
+ b.ToTable("sqe_fpy_data");
|
|
|
+ b.HasNoKey();
|
|
|
+ b.Property(b => b.create_date).HasDefaultValue(DateTime.Now);
|
|
|
+ b.ConfigureByConvention();
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+ builder.Entity<sqe_op>(b =>
|
|
|
+ {
|
|
|
+ b.ToTable("sqe_op");
|
|
|
+ b.HasNoKey();
|
|
|
+ b.Property(b => b.create_date).HasDefaultValue(DateTime.Now);
|
|
|
+ b.ConfigureByConvention();
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+ builder.Entity<sqe_op_data>(b =>
|
|
|
+ {
|
|
|
+ b.ToTable("sqe_op_data");
|
|
|
+ b.HasNoKey();
|
|
|
+ b.Property(b => b.create_date).HasDefaultValue(DateTime.Now);
|
|
|
+ b.ConfigureByConvention();
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+ builder.Entity<sqe_op_data_detail>(b =>
|
|
|
+ {
|
|
|
+ b.ToTable("sqe_op_data_detail");
|
|
|
+ b.HasNoKey();
|
|
|
+ b.Property(b => b.create_date).HasDefaultValue(DateTime.Now);
|
|
|
+ b.ConfigureByConvention();
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+ builder.Entity<sqe_fct>(b =>
|
|
|
+ {
|
|
|
+ b.ToTable("sqe_fct");
|
|
|
+ b.HasNoKey();
|
|
|
+ b.Property(b => b.create_date).HasDefaultValue(DateTime.Now);
|
|
|
+ b.ConfigureByConvention();
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+ builder.Entity<sqe_fct_data>(b =>
|
|
|
+ {
|
|
|
+ b.ToTable("sqe_fct_data");
|
|
|
+ b.HasNoKey();
|
|
|
+ b.Property(b => b.create_date).HasDefaultValue(DateTime.Now);
|
|
|
+ b.ConfigureByConvention();
|
|
|
+
|
|
|
});
|
|
|
}
|
|
|
}
|