готовая 3 лаба

This commit is contained in:
Алина 2024-03-20 10:53:07 +04:00
parent 60c17db71a
commit d0dd15e308
4 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@ using TypographyDatabaseImplement;
namespace TypographyDatabaseImplement.Migrations
{
[DbContext(typeof(TypographyDatabase))]
[Migration("20240319173132_InitialCreate")]
[Migration("20240320053820_InitialCreate")]
partial class InitialCreate
{
/// <inheritdoc />

View File

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

View File

@ -30,6 +30,7 @@
<ItemGroup>
<ProjectReference Include="..\TypographyBusinessLogic\TypographyBusinessLogic.csproj" />
<ProjectReference Include="..\TypographyContracts\TypographyContracts.csproj" />
<ProjectReference Include="..\TypographyDatabaseImplement\TypographyDatabaseImplement.csproj" />
<ProjectReference Include="..\TypographyFileImplement\TypographyFileImplement.csproj" />
<ProjectReference Include="..\TypographyListImplement\TypographyListImplement.csproj" />