Логика создания шаблонов

This commit is contained in:
Mikhail Trubnikov
2023-09-25 11:47:13 +10:00
parent 6c3ac936a1
commit 251d23e9b4
10 changed files with 1601 additions and 17 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,32 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace PARR.DAL.Migrations
{
/// <inheritdoc />
public partial class TblSettingUpdPrefix : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
table: "Settings",
keyColumn: "Name",
keyValue: "TemplatePrefixName",
column: "Value",
value: "ПАРР-ДВС-ПТК");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
table: "Settings",
keyColumn: "Name",
keyValue: "TemplatePrefixName",
column: "Value",
value: "ПАРР-ДВС-ПТК__");
}
}
}

View File

@@ -616,7 +616,7 @@ namespace PARR.DAL.Migrations
{
Name = "TemplatePrefixName",
Description = "Префикс имени шаблона в ЕСПП",
Value = "ПАРР-ДВС-ПТК__"
Value = "ПАРР-ДВС-ПТК"
});
});