коммит
This commit is contained in:
parent
f54690022a
commit
421e6e478c
@ -83,9 +83,9 @@ namespace SoftwareInstallationBusinessLogic.BusinessLogic
|
||||
}
|
||||
|
||||
_logger.LogDebug("Create zip and remove folder");
|
||||
// архивируем
|
||||
|
||||
ZipFile.CreateFromDirectory(model.FolderName, fileName);
|
||||
// удаляем папку
|
||||
|
||||
dirInfo.Delete(true);
|
||||
}
|
||||
catch (Exception)
|
||||
|
@ -12,8 +12,8 @@ using SoftwareInstallationDataBaseImplement;
|
||||
namespace SoftwareInstallationDataBaseImplement.Migrations
|
||||
{
|
||||
[DbContext(typeof(SoftwareInstallationDataBase))]
|
||||
[Migration("20230421190828_InitDB")]
|
||||
partial class InitDB
|
||||
[Migration("20230505052151_InitDb")]
|
||||
partial class InitDb
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
@ -6,7 +6,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
|
||||
namespace SoftwareInstallationDataBaseImplement.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class InitDB : Migration
|
||||
public partial class InitDb : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
@ -9,7 +9,7 @@ namespace SoftwareInstallationDataBaseImplement
|
||||
{
|
||||
if (optionsBuilder.IsConfigured == false)
|
||||
{
|
||||
optionsBuilder.UseSqlServer(@"Data Source=COMP-AVZH\SQLEXPRESS;Initial Catalog=SoftwareInstallationDataBaseFulllab7;Integrated Security=True;MultipleActiveResultSets=True;;TrustServerCertificate=True");
|
||||
optionsBuilder.UseSqlServer(@"Data Source=COMP-AVZH\SQLEXPRESS;Initial Catalog=SoftwareInstallationDataBaseFull;Integrated Security=True;MultipleActiveResultSets=True;;TrustServerCertificate=True");
|
||||
}
|
||||
base.OnConfiguring(optionsBuilder);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user