Еще одно сохранение DataBase(Почему-то прошлое полностью не прошло)

This commit is contained in:
Extrimal 2024-05-04 00:06:20 +04:00
parent 9bf56d579d
commit 08289607b8

View File

@ -14,7 +14,7 @@ namespace HotelDatabaseImplement
{ {
if (optionsBuilder.IsConfigured == false) if (optionsBuilder.IsConfigured == false)
{ {
optionsBuilder.UseSqlServer(@"Data Source=localhost\SQLEXPRESS;Initial Catalog=TestProject;Integrated Security=True;MultipleActiveResultSets=True;TrustServerCertificate=True"); optionsBuilder.UseSqlServer(@"Data Source=localhost\SQLEXPRESS01;Initial Catalog=HotelDatabaseBD;Integrated Security=True;MultipleActiveResultSets=True;;TrustServerCertificate=True");
} }
base.OnConfiguring(optionsBuilder); base.OnConfiguring(optionsBuilder);
} }