complete
This commit is contained in:
parent
1d70037137
commit
428d1114ac
@ -39,7 +39,7 @@ namespace PrecastConcretePlantDatabaseImplement.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Components");
|
||||
b.ToTable("Components", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("PrecastConcretePlantDatabaseImplement.Models.Order", b =>
|
||||
@ -72,7 +72,7 @@ namespace PrecastConcretePlantDatabaseImplement.Migrations
|
||||
|
||||
b.HasIndex("ReinforcedId");
|
||||
|
||||
b.ToTable("Orders");
|
||||
b.ToTable("Orders", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("PrecastConcretePlantDatabaseImplement.Models.Reinforced", b =>
|
||||
@ -92,7 +92,7 @@ namespace PrecastConcretePlantDatabaseImplement.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Reinforceds");
|
||||
b.ToTable("Reinforceds", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("PrecastConcretePlantDatabaseImplement.Models.ReinforcedComponent", b =>
|
||||
@ -118,7 +118,7 @@ namespace PrecastConcretePlantDatabaseImplement.Migrations
|
||||
|
||||
b.HasIndex("ReinforcedId");
|
||||
|
||||
b.ToTable("ReinforcedComponents");
|
||||
b.ToTable("ReinforcedComponents", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("PrecastConcretePlantDatabaseImplement.Shop", b =>
|
||||
@ -145,7 +145,7 @@ namespace PrecastConcretePlantDatabaseImplement.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Shops");
|
||||
b.ToTable("Shops", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("PrecastConcretePlantDatabaseImplement.ShopReinforced", b =>
|
||||
@ -171,7 +171,7 @@ namespace PrecastConcretePlantDatabaseImplement.Migrations
|
||||
|
||||
b.HasIndex("ShopId");
|
||||
|
||||
b.ToTable("ShopReinforceds");
|
||||
b.ToTable("ShopReinforceds", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("PrecastConcretePlantDatabaseImplement.Models.Order", b =>
|
||||
|
@ -12,7 +12,7 @@ namespace PrecastConcretePlantDatabaseImplement
|
||||
{
|
||||
optionsBuilder.UseSqlServer(@"
|
||||
Server = localhost\SQLEXPRESS;
|
||||
Initial Catalog = SoftwareInstallationDatabaseFull;
|
||||
Initial Catalog = PrecastConcretePlantDatabaseDatabaseFull;
|
||||
Integrated Security = True;
|
||||
MultipleActiveResultSets = True;
|
||||
TrustServerCertificate = True");
|
||||
|
@ -71,6 +71,7 @@ namespace PrecastConcretePlantDatabaseImplement
|
||||
Name = model.Name;
|
||||
Address = model.Address;
|
||||
DateOpening = model.DateOpening;
|
||||
MaxCountReinforceds = model.MaxCountReinforceds;
|
||||
}
|
||||
public ShopViewModel GetViewModel => new()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user