lab 6 hard
This commit is contained in:
parent
a67e43a4c5
commit
1d98a6d20a
@ -12,7 +12,7 @@ using SoftwareInstallationDataBaseImplement;
|
|||||||
namespace SoftwareInstallationDataBaseImplement.Migrations
|
namespace SoftwareInstallationDataBaseImplement.Migrations
|
||||||
{
|
{
|
||||||
[DbContext(typeof(SoftwareInstallationDataBase))]
|
[DbContext(typeof(SoftwareInstallationDataBase))]
|
||||||
[Migration("20230503134657_InitDb")]
|
[Migration("20230504165449_InitDb")]
|
||||||
partial class InitDb
|
partial class InitDb
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
@ -9,7 +9,7 @@ namespace SoftwareInstallationDataBaseImplement
|
|||||||
{
|
{
|
||||||
if (optionsBuilder.IsConfigured == false)
|
if (optionsBuilder.IsConfigured == false)
|
||||||
{
|
{
|
||||||
optionsBuilder.UseSqlServer(@"Data Source=DESKTOP-VG5USAH\SQLEXPRESS;Initial Catalog=SoftwareInstallationDataBaseHardFull;Integrated Security=True;MultipleActiveResultSets=True;;TrustServerCertificate=True");
|
optionsBuilder.UseSqlServer(@"Data Source=COMP-AVZH\SQLEXPRESS;Initial Catalog=SoftwareInstallationDataBaseHardFulllab6;Integrated Security=True;MultipleActiveResultSets=True;;TrustServerCertificate=True");
|
||||||
}
|
}
|
||||||
base.OnConfiguring(optionsBuilder);
|
base.OnConfiguring(optionsBuilder);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user