DateTime replaced Timestamp, StockController methods

This commit is contained in:
Dimitar Byalkov
2021-03-18 21:42:28 +02:00
parent 541b001d31
commit bdd0d5256f
7 changed files with 48 additions and 45 deletions

View File

@@ -32,11 +32,8 @@ namespace Data.Migrations
b.Property<int>("ProductId")
.HasColumnType("int");
b.Property<byte[]>("Time")
.IsConcurrencyToken()
.IsRequired()
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("rowversion");
b.Property<DateTime>("Time")
.HasColumnType("datetime2");
b.Property<int>("UserId")
.HasColumnType("int");
@@ -107,11 +104,8 @@ namespace Data.Migrations
b.Property<int>("ProductId")
.HasColumnType("int");
b.Property<byte[]>("Time")
.IsConcurrencyToken()
.IsRequired()
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("rowversion");
b.Property<DateTime>("Time")
.HasColumnType("datetime2");
b.Property<int>("UserId")
.HasColumnType("int");