синхронизация студентов

This commit is contained in:
kotcheshir73 2021-04-28 19:15:03 +04:00
parent ba184943c4
commit 5694e531b6
5 changed files with 1492 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,24 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace DatabaseCore.Migrations
{
public partial class UpdateStudnet : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Iduniv",
table: "Students",
type: "nvarchar(max)",
nullable: false,
defaultValue: "");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Iduniv",
table: "Students");
}
}
}

View File

@ -755,6 +755,10 @@ namespace DatabaseCore.Migrations
.IsRequired() .IsRequired()
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("Iduniv")
.IsRequired()
.HasColumnType("nvarchar(max)");
b.Property<bool>("IsDeleted") b.Property<bool>("IsDeleted")
.HasColumnType("bit"); .HasColumnType("bit");

View File

@ -88,6 +88,11 @@ namespace DepartmentDatabaseImplementation.Implementations
}); });
} }
public Task<OperationResultModel> RestoreAsync(OrderSyncHistoryRecordGetBindingModel model)
{
throw new NotImplementedException();
}
public async Task<OperationResultModel> UpdateAsync(OrderSyncHistoryRecordSetBindingModel model) public async Task<OperationResultModel> UpdateAsync(OrderSyncHistoryRecordSetBindingModel model)
{ {
using var context = DatabaseManager.GetContext; using var context = DatabaseManager.GetContext;

View File

@ -96,6 +96,11 @@ namespace DepartmentDatabaseImplementation.Implementations
}); });
} }
public Task<OperationResultModel> RestoreAsync(OrderSyncHistoryGetBindingModel model)
{
throw new NotImplementedException();
}
public async Task<OperationResultModel> UpdateAsync(OrderSyncHistorySetBindingModel model) public async Task<OperationResultModel> UpdateAsync(OrderSyncHistorySetBindingModel model)
{ {
using var context = DatabaseManager.GetContext; using var context = DatabaseManager.GetContext;