From 646329b411b3543968e92290b7c0626ed28f9a3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com>
Date: Mon, 30 Jun 2025 10:11:25 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../JobDbContext.cs | 4 +
...0250630011000_z2025063000001z.Designer.cs} | 356 +++++-------------
...1.cs => 20250630011000_z2025063000001z.cs} | 172 ++++-----
.../Migrations/JobDbContextModelSnapshot.cs | 352 +++++------------
.../PublishProfiles/FolderProfile.pubxml.user | 4 +-
.../Wood.Admin.WebApi.csproj.user | 2 +-
API/Wood.Admin.WebApi/appsettings.json | 2 +-
.../wwwroot/assets/404-DnS9GuWz.js | 1 -
.../wwwroot/assets/500-CjFyNiNH.js | 1 -
.../wwwroot/assets/customlog-oQj6ZQMk.js | 1 -
.../assets/dataDictDetailApi-Kg01d_jj.js | 1 -
.../assets/deferredJobDialog-DqC0UJtz.js | 1 -
.../assets/dictDetailDialog-BaNR9mw5.js | 1 -
.../wwwroot/assets/dictSelect-DBLtcLzW.js | 1 -
.../wwwroot/assets/download-DA4MPZiT.js | 1 -
.../assets/editDataTypeDialog-DGDUBYk6.js | 1 -
.../wwwroot/assets/editDialog-B8uHd97R.js | 1 -
.../wwwroot/assets/editDialog-BDY8R86d.js | 1 -
.../wwwroot/assets/editDialog-BJbWPMmY.css | 1 -
.../wwwroot/assets/editDialog-C61nBEA6.js | 1 -
.../wwwroot/assets/editDialog-D5UZdwXG.js | 1 -
.../wwwroot/assets/editDialog-DELt3qyg.js | 1 -
.../wwwroot/assets/editDialog-DdwC07tE.js | 2 -
.../wwwroot/assets/editDialog-Dmxwm7yj.js | 1 -
.../wwwroot/assets/editDialog-ddGr7Tu4.css | 1 -
.../wwwroot/assets/editDialog-j4pw8tQ6.js | 1 -
.../assets/editDictDetailDialog-D4k1iggk.js | 1 -
.../wwwroot/assets/elIconList-BN6Jhe0C.js | 1 -
.../wwwroot/assets/enumSelect-CN__qthn.js | 1 -
.../wwwroot/assets/faIconList-C6tezBly.js | 1 -
.../wwwroot/assets/fileApi-Tc8sqYBN.js | 1 -
.../wwwroot/assets/index-32C3H-ak.js | 1 -
.../wwwroot/assets/index-B-bmOCwm.js | 1 -
.../wwwroot/assets/index-B3hiOS63.js | 1 -
.../wwwroot/assets/index-B7Vl9dN0.js | 1 -
.../wwwroot/assets/index-B8vFh7ls.js | 1 -
.../wwwroot/assets/index-BD1S3Ujj.js | 1 -
.../wwwroot/assets/index-BFmzLP7P.js | 1 -
.../wwwroot/assets/index-BVMzSCkZ.js | 1 -
.../wwwroot/assets/index-BYs2xETU.js | 1 -
.../wwwroot/assets/index-Bdiw4Ljq.js | 1 -
.../wwwroot/assets/index-BgzJOy7i.js | 1 -
.../wwwroot/assets/index-BiUi5GCf.js | 1 -
.../wwwroot/assets/index-BolF9ZRt.js | 1 -
.../wwwroot/assets/index-Bt9XBEO4.css | 1 -
.../wwwroot/assets/index-BzV14Ivi.css | 1 -
.../wwwroot/assets/index-C0lL6fdn.css | 4 -
.../wwwroot/assets/index-C3BEVKU2.js | 1 -
.../wwwroot/assets/index-C8tSRk91.js | 95 -----
.../wwwroot/assets/index-CI8aco7-.js | 260 -------------
.../wwwroot/assets/index-CN5-jWTq.js | 1 -
.../wwwroot/assets/index-CRWo638_.js | 1 -
.../wwwroot/assets/index-CV-xrzcz.js | 1 -
.../wwwroot/assets/index-CV9FDUw0.js | 1 -
.../wwwroot/assets/index-CXpcsHBo.js | 1 -
.../wwwroot/assets/index-CadwDN3W.css | 1 -
.../wwwroot/assets/index-Ccygf5oS.js | 1 -
.../wwwroot/assets/index-CnZ0D6NV.js | 1 -
.../wwwroot/assets/index-CsbwDgR_.js | 1 -
.../wwwroot/assets/index-CsczknLr.js | 1 -
.../wwwroot/assets/index-D-dFf3WM.js | 1 -
.../wwwroot/assets/index-D8QtRGG1.js | 1 -
.../wwwroot/assets/index-DAN2W1jo.js | 1 -
.../wwwroot/assets/index-DBYMIuWs.js | 1 -
.../wwwroot/assets/index-DKZGXVoa.js | 1 -
.../wwwroot/assets/index-DLb4jy65.js | 1 -
.../wwwroot/assets/index-DQyMNCNB.js | 1 -
.../wwwroot/assets/index-DRJnYaY9.js | 1 -
.../wwwroot/assets/index-DVHKUhIl.js | 1 -
.../wwwroot/assets/index-DXW_LiZs.js | 1 -
.../wwwroot/assets/index-DXXcn-oB.js | 1 -
.../wwwroot/assets/index-DYQ67tea.css | 1 -
.../wwwroot/assets/index-DcYI5DiT.js | 1 -
.../wwwroot/assets/index-DgO70j-4.js | 1 -
.../wwwroot/assets/index-DrYN2bXC.js | 1 -
.../wwwroot/assets/index-Dt44Wo52.js | 1 -
.../wwwroot/assets/index-Dxovg_Uq.js | 1 -
.../wwwroot/assets/index-WBFEuq-o.js | 1 -
.../wwwroot/assets/index-bpkuemde.js | 1 -
.../wwwroot/assets/index-hDE0yOp8.js | 1 -
.../wwwroot/assets/index-i2SX9wPf.js | 1 -
.../wwwroot/assets/index-m6jGU4sx.js | 1 -
.../wwwroot/assets/index-nix1Iim7.js | 1 -
.../wwwroot/assets/index-p42QvfvX.js | 1 -
.../wwwroot/assets/index-s_HhUQ-8.js | 1 -
.../wwwroot/assets/index-vYjWS3BB.css | 1 -
.../wwwroot/assets/logApi-DsM_ZKZ2.js | 1 -
.../wwwroot/assets/logDiffIndex-Pza-KAMv.js | 1 -
.../wwwroot/assets/logEventIndex-BhxWW2Ra.js | 1 -
.../assets/logExceptionIndex-B0EIH0up.js | 1 -
.../wwwroot/assets/logJobIndex-C1w3P-Wa.js | 1 -
.../wwwroot/assets/logLoginIndex-CuTnojuM.js | 1 -
.../assets/logOperateIndex-CnyybW1z.js | 1 -
.../wwwroot/assets/menuApi-F2PSxiN_.js | 1 -
.../wwwroot/assets/orgApi-v6vhSMlI.js | 1 -
.../wwwroot/assets/orgCascader-D3R_voqP.js | 1 -
.../wwwroot/assets/orgTree-CVJ7OAun.js | 1 -
.../wwwroot/assets/positionApi-B85FoYvP.js | 1 -
.../wwwroot/assets/positionSelect-BA9ujX1y.js | 1 -
.../wwwroot/assets/publishDialog-CbPMSCi_.js | 1 -
.../wwwroot/assets/publishIndex-CbFfea7Y.js | 1 -
.../wwwroot/assets/receiveIndex-D50kuyLf.js | 1 -
.../wwwroot/assets/roleApi-D1CvLHy6.js | 1 -
.../assets/singleImgUpload-BRyHAvAy.js | 1 -
.../assets/singleImgUpload-CMkgGOUx.css | 1 -
.../wwwroot/assets/tablePageDemo-6BlOHfWj.js | 1 -
.../wwwroot/assets/tenantDialog-D5J38YHG.js | 1 -
.../wwwroot/assets/userSelect-DPNw5LLI.js | 1 -
.../assets/userSelectDialog-CSfAZHfh.js | 1 -
.../wwwroot/assets/viewDialog-wMto0MV_.js | 1 -
110 files changed, 284 insertions(+), 1068 deletions(-)
rename API/TaskManager.EntityFramework/Migrations/{20250627233450_z1239912930001.Designer.cs => 20250630011000_z2025063000001z.Designer.cs} (96%)
rename API/TaskManager.EntityFramework/Migrations/{20250627233450_z1239912930001.cs => 20250630011000_z2025063000001z.cs} (98%)
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/404-DnS9GuWz.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/500-CjFyNiNH.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/customlog-oQj6ZQMk.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/dataDictDetailApi-Kg01d_jj.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/deferredJobDialog-DqC0UJtz.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/dictDetailDialog-BaNR9mw5.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/dictSelect-DBLtcLzW.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/download-DA4MPZiT.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/editDataTypeDialog-DGDUBYk6.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/editDialog-B8uHd97R.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/editDialog-BDY8R86d.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/editDialog-BJbWPMmY.css
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/editDialog-C61nBEA6.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/editDialog-D5UZdwXG.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/editDialog-DELt3qyg.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/editDialog-DdwC07tE.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/editDialog-Dmxwm7yj.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/editDialog-ddGr7Tu4.css
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/editDialog-j4pw8tQ6.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/editDictDetailDialog-D4k1iggk.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/elIconList-BN6Jhe0C.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/enumSelect-CN__qthn.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/faIconList-C6tezBly.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/fileApi-Tc8sqYBN.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-32C3H-ak.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-B-bmOCwm.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-B3hiOS63.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-B7Vl9dN0.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-B8vFh7ls.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-BD1S3Ujj.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-BFmzLP7P.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-BVMzSCkZ.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-BYs2xETU.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-Bdiw4Ljq.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-BgzJOy7i.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-BiUi5GCf.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-BolF9ZRt.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-Bt9XBEO4.css
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-BzV14Ivi.css
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-C0lL6fdn.css
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-C3BEVKU2.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-C8tSRk91.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-CI8aco7-.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-CN5-jWTq.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-CRWo638_.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-CV-xrzcz.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-CV9FDUw0.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-CXpcsHBo.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-CadwDN3W.css
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-Ccygf5oS.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-CnZ0D6NV.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-CsbwDgR_.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-CsczknLr.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-D-dFf3WM.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-D8QtRGG1.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-DAN2W1jo.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-DBYMIuWs.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-DKZGXVoa.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-DLb4jy65.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-DQyMNCNB.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-DRJnYaY9.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-DVHKUhIl.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-DXW_LiZs.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-DXXcn-oB.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-DYQ67tea.css
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-DcYI5DiT.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-DgO70j-4.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-DrYN2bXC.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-Dt44Wo52.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-Dxovg_Uq.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-WBFEuq-o.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-bpkuemde.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-hDE0yOp8.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-i2SX9wPf.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-m6jGU4sx.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-nix1Iim7.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-p42QvfvX.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-s_HhUQ-8.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/index-vYjWS3BB.css
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/logApi-DsM_ZKZ2.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/logDiffIndex-Pza-KAMv.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/logEventIndex-BhxWW2Ra.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/logExceptionIndex-B0EIH0up.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/logJobIndex-C1w3P-Wa.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/logLoginIndex-CuTnojuM.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/logOperateIndex-CnyybW1z.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/menuApi-F2PSxiN_.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/orgApi-v6vhSMlI.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/orgCascader-D3R_voqP.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/orgTree-CVJ7OAun.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/positionApi-B85FoYvP.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/positionSelect-BA9ujX1y.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/publishDialog-CbPMSCi_.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/publishIndex-CbFfea7Y.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/receiveIndex-D50kuyLf.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/roleApi-D1CvLHy6.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/singleImgUpload-BRyHAvAy.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/singleImgUpload-CMkgGOUx.css
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/tablePageDemo-6BlOHfWj.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/tenantDialog-D5J38YHG.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/userSelect-DPNw5LLI.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/userSelectDialog-CSfAZHfh.js
delete mode 100644 API/Wood.Admin.WebApi/wwwroot/assets/viewDialog-wMto0MV_.js
diff --git a/API/TaskManager.EntityFramework/JobDbContext.cs b/API/TaskManager.EntityFramework/JobDbContext.cs
index 0a57379..f6189cd 100644
--- a/API/TaskManager.EntityFramework/JobDbContext.cs
+++ b/API/TaskManager.EntityFramework/JobDbContext.cs
@@ -77,6 +77,10 @@ namespace TaskManager.EntityFramework
optionsBuilder.UseSqlServer(GlobalContext.SystemConfig.CustomerDb);
+ //optionsBuilder.UseSqlServer("Server = 192.168.1.228; Database = TaskManager; User ID = sa; Password = ChangkeTec@2021; TrustServerCertificate = True");
+
+
+
//optionsBuilder.UseSqlServer("Server = 127.0.01; Database = TaskManager2; User ID = sa; Password = 1; TrustServerCertificate = True");
diff --git a/API/TaskManager.EntityFramework/Migrations/20250627233450_z1239912930001.Designer.cs b/API/TaskManager.EntityFramework/Migrations/20250630011000_z2025063000001z.Designer.cs
similarity index 96%
rename from API/TaskManager.EntityFramework/Migrations/20250627233450_z1239912930001.Designer.cs
rename to API/TaskManager.EntityFramework/Migrations/20250630011000_z2025063000001z.Designer.cs
index 43087cb..e5f406a 100644
--- a/API/TaskManager.EntityFramework/Migrations/20250627233450_z1239912930001.Designer.cs
+++ b/API/TaskManager.EntityFramework/Migrations/20250630011000_z2025063000001z.Designer.cs
@@ -12,8 +12,8 @@ using TaskManager.EntityFramework;
namespace TaskManager.EntityFramework.Migrations
{
[DbContext(typeof(JobDbContext))]
- [Migration("20250627233450_z1239912930001")]
- partial class z1239912930001
+ [Migration("20250630011000_z2025063000001z")]
+ partial class z2025063000001z
{
///
protected override void BuildTargetModel(ModelBuilder modelBuilder)
@@ -33,16 +33,19 @@ namespace TaskManager.EntityFramework.Migrations
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId"));
- b.Property("CheckInTime")
+ b.Property("CheckInTime")
+ .IsRequired()
.HasColumnType("datetime2");
- b.Property("CheckOutTime")
+ b.Property("CheckOutTime")
+ .IsRequired()
.HasColumnType("datetime2");
b.Property("CreationTime")
.HasColumnType("datetime2");
- b.Property("DataUpdateTime")
+ b.Property("DataUpdateTime")
+ .IsRequired()
.HasColumnType("datetime2");
b.Property("HaveQuantity")
@@ -96,9 +99,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -135,9 +136,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -371,9 +370,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("DECIMAL");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("ReleaseEdition")
.HasMaxLength(32)
@@ -406,9 +403,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("NVARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -573,9 +568,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("DECIMAL");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("ReleaseEdition")
.HasMaxLength(32)
@@ -608,9 +601,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("NVARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -696,9 +687,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("DECIMAL");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("ReleaseEdition")
.HasMaxLength(32)
@@ -732,9 +721,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("NVARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -822,9 +809,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("DECIMAL");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("ReleaseEdition")
.HasMaxLength(32)
@@ -858,9 +843,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("NVARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -899,9 +882,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("DECIMAL");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -931,9 +912,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("NVARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -974,9 +953,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("DECIMAL");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -1006,9 +983,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("NVARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -1192,9 +1167,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -1240,9 +1213,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -1309,9 +1280,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -1364,9 +1333,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -1446,9 +1413,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -1486,9 +1451,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -1570,9 +1533,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -1610,9 +1571,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -1709,9 +1668,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -1785,9 +1742,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -1886,9 +1841,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -1962,9 +1915,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -2042,9 +1993,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -2092,9 +2041,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -2174,9 +2121,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -2223,9 +2168,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -2310,9 +2253,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("DECIMAL");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -2376,9 +2317,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -2465,9 +2404,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("DECIMAL");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -2531,9 +2468,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -2590,9 +2525,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("nvarchar");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("RecId")
.IsRequired()
@@ -2660,9 +2593,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("nvarchar");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -2721,9 +2652,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("nvarchar");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("RecId")
.IsRequired()
@@ -2791,9 +2720,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("nvarchar");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -2860,9 +2787,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("DECIMAL");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasColumnType("nvarchar(max)");
@@ -2924,9 +2849,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -3235,9 +3158,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("datetime2");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -3284,9 +3205,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -3414,9 +3333,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("datetime2");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasColumnType("nvarchar(max)");
@@ -3469,9 +3386,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -3538,9 +3453,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("DECIMAL");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -3603,9 +3516,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -3662,9 +3573,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -3725,9 +3634,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("nvarchar");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -3786,9 +3693,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -3849,9 +3754,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("nvarchar");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -4153,9 +4056,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -4199,9 +4100,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -4287,9 +4186,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -4333,9 +4230,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -4401,9 +4296,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("DECIMAL");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -4461,9 +4354,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -4493,7 +4384,8 @@ namespace TaskManager.EntityFramework.Migrations
b.Property("CreationTime")
.HasColumnType("datetime2");
- b.Property("DataUpdateTime")
+ b.Property("DataUpdateTime")
+ .IsRequired()
.HasColumnType("datetime2");
b.Property("KeyStation")
@@ -4526,9 +4418,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("DECIMAL");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -4579,9 +4469,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -4646,9 +4534,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("DECIMAL");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -4706,9 +4592,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -6357,9 +6241,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -6474,9 +6356,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -6628,9 +6508,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -6745,9 +6623,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -7122,9 +6998,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -7235,9 +7109,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -7374,9 +7246,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -7487,9 +7357,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -7571,9 +7439,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("nvarchar");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -7629,9 +7495,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("nvarchar");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -7715,9 +7579,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("nvarchar");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -7773,9 +7635,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("nvarchar");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -8069,9 +7929,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("CHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -8151,9 +8009,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -8255,9 +8111,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("CHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -8337,9 +8191,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -8720,9 +8572,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -8756,9 +8606,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -8853,9 +8701,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -8889,9 +8735,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("VARCHAR");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -9902,9 +9746,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("DECIMAL");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -9940,9 +9782,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("uniqueidentifier");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -10005,9 +9845,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("DECIMAL");
b.Property("ReadState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(true);
+ .HasColumnType("bit");
b.Property("Remark")
.HasMaxLength(500)
@@ -10043,9 +9881,7 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("uniqueidentifier");
b.Property("WriteState")
- .ValueGeneratedOnAdd()
- .HasColumnType("bit")
- .HasDefaultValue(false);
+ .HasColumnType("bit");
b.HasKey("UId");
@@ -10181,8 +10017,8 @@ namespace TaskManager.EntityFramework.Migrations
.HasColumnType("nvarchar(50)");
b.Property("Path")
- .HasMaxLength(30)
- .HasColumnType("nvarchar(30)");
+ .HasMaxLength(50)
+ .HasColumnType("nvarchar(50)");
b.Property("ReadState")
.HasColumnType("bit");
diff --git a/API/TaskManager.EntityFramework/Migrations/20250627233450_z1239912930001.cs b/API/TaskManager.EntityFramework/Migrations/20250630011000_z2025063000001z.cs
similarity index 98%
rename from API/TaskManager.EntityFramework/Migrations/20250627233450_z1239912930001.cs
rename to API/TaskManager.EntityFramework/Migrations/20250630011000_z2025063000001z.cs
index 1151d39..a69ad13 100644
--- a/API/TaskManager.EntityFramework/Migrations/20250627233450_z1239912930001.cs
+++ b/API/TaskManager.EntityFramework/Migrations/20250630011000_z2025063000001z.cs
@@ -6,7 +6,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
namespace TaskManager.EntityFramework.Migrations
{
///
- public partial class z1239912930001 : Migration
+ public partial class z2025063000001z : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
@@ -72,8 +72,8 @@ namespace TaskManager.EntityFramework.Migrations
SubMaterialUnit = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
SubMaterialQuota = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: false),
DataUpdateTime = table.Column(type: "CHAR(19)", maxLength: 19, nullable: false),
- WriteState = table.Column(type: "bit", nullable: false, defaultValue: false),
- ReadState = table.Column(type: "bit", nullable: false, defaultValue: true),
+ WriteState = table.Column(type: "bit", nullable: false),
+ ReadState = table.Column(type: "bit", nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "NVarchar(500)", maxLength: 500, nullable: true),
TaskId = table.Column(type: "uniqueidentifier", nullable: false),
@@ -108,8 +108,8 @@ namespace TaskManager.EntityFramework.Migrations
SubMaterialUnit = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
SubMaterialQuota = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: false),
DataUpdateTime = table.Column(type: "CHAR(19)", maxLength: 19, nullable: false),
- WriteState = table.Column(type: "bit", nullable: false, defaultValue: false),
- ReadState = table.Column(type: "bit", nullable: false, defaultValue: true),
+ WriteState = table.Column(type: "bit", nullable: false),
+ ReadState = table.Column(type: "bit", nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "NVarchar(500)", maxLength: 500, nullable: true),
TaskId = table.Column(type: "uniqueidentifier", nullable: false),
@@ -167,8 +167,8 @@ namespace TaskManager.EntityFramework.Migrations
QuantityMeet29 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet30 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet31 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
- WriteState = table.Column(type: "bit", nullable: false, defaultValue: false),
- ReadState = table.Column(type: "bit", nullable: false, defaultValue: true),
+ WriteState = table.Column(type: "bit", nullable: false),
+ ReadState = table.Column(type: "bit", nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "NVarchar(500)", maxLength: 500, nullable: true),
TaskId = table.Column(type: "uniqueidentifier", nullable: false),
@@ -226,8 +226,8 @@ namespace TaskManager.EntityFramework.Migrations
QuantityMeet29 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet30 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet31 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
- WriteState = table.Column(type: "bit", nullable: false, defaultValue: false),
- ReadState = table.Column(type: "bit", nullable: false, defaultValue: true),
+ WriteState = table.Column(type: "bit", nullable: false),
+ ReadState = table.Column(type: "bit", nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "NVarchar(500)", maxLength: 500, nullable: true),
TaskId = table.Column(type: "uniqueidentifier", nullable: false),
@@ -267,8 +267,8 @@ namespace TaskManager.EntityFramework.Migrations
QuantityMeet10 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet11 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet12 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
- WriteState = table.Column(type: "bit", nullable: false, defaultValue: false),
- ReadState = table.Column(type: "bit", nullable: false, defaultValue: true),
+ WriteState = table.Column(type: "bit", nullable: false),
+ ReadState = table.Column(type: "bit", nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "NVarchar(500)", maxLength: 500, nullable: true),
TaskId = table.Column(type: "uniqueidentifier", nullable: false),
@@ -307,8 +307,8 @@ namespace TaskManager.EntityFramework.Migrations
QuantityMeet10 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet11 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet12 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
- WriteState = table.Column(type: "bit", nullable: false, defaultValue: false),
- ReadState = table.Column(type: "bit", nullable: false, defaultValue: true),
+ WriteState = table.Column(type: "bit", nullable: false),
+ ReadState = table.Column(type: "bit", nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "NVarchar(500)", maxLength: 500, nullable: true),
TaskId = table.Column(type: "uniqueidentifier", nullable: false),
@@ -333,8 +333,8 @@ namespace TaskManager.EntityFramework.Migrations
VentureType = table.Column(type: "NVARCHAR(50)", maxLength: 50, nullable: true),
VentureSpecific = table.Column(type: "NVARCHAR(255)", maxLength: 255, nullable: true),
Measures = table.Column(type: "NVARCHAR(255)", maxLength: 255, nullable: true),
- WriteState = table.Column(type: "bit", nullable: false, defaultValue: false),
- ReadState = table.Column(type: "bit", nullable: false, defaultValue: true),
+ WriteState = table.Column(type: "bit", nullable: false),
+ ReadState = table.Column(type: "bit", nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "NVarchar(500)", maxLength: 500, nullable: true),
TaskId = table.Column(type: "uniqueidentifier", nullable: false),
@@ -360,8 +360,8 @@ namespace TaskManager.EntityFramework.Migrations
VentureType = table.Column(type: "NVARCHAR(50)", maxLength: 50, nullable: true),
VentureSpecific = table.Column(type: "NVARCHAR(255)", maxLength: 255, nullable: true),
Measures = table.Column(type: "NVARCHAR(255)", maxLength: 255, nullable: true),
- WriteState = table.Column(type: "bit", nullable: false, defaultValue: false),
- ReadState = table.Column(type: "bit", nullable: false, defaultValue: true),
+ WriteState = table.Column(type: "bit", nullable: false),
+ ReadState = table.Column(type: "bit", nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "NVarchar(500)", maxLength: 500, nullable: true),
TaskId = table.Column(type: "uniqueidentifier", nullable: false),
@@ -472,8 +472,8 @@ namespace TaskManager.EntityFramework.Migrations
QualificationLevel = table.Column(type: "VARCHAR(16)", maxLength: 16, nullable: false),
CheckInTime = table.Column(type: "datetime2", nullable: false),
CheckOutTime = table.Column(type: "datetime2", nullable: true),
- WriteState = table.Column(type: "bit", nullable: false, defaultValue: false),
- ReadState = table.Column(type: "bit", nullable: false, defaultValue: true),
+ WriteState = table.Column(type: "bit", nullable: false),
+ ReadState = table.Column(type: "bit", nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "NVarchar(500)", maxLength: 500, nullable: true),
TaskId = table.Column(type: "uniqueidentifier", nullable: false),
@@ -510,8 +510,8 @@ namespace TaskManager.EntityFramework.Migrations
QualificationLevel = table.Column(type: "VARCHAR(16)", maxLength: 16, nullable: false),
CheckInTime = table.Column(type: "datetime2", nullable: false),
CheckOutTime = table.Column(type: "datetime2", nullable: false),
- WriteState = table.Column(type: "bit", nullable: false, defaultValue: false),
- ReadState = table.Column(type: "bit", nullable: false, defaultValue: true),
+ WriteState = table.Column(type: "bit", nullable: false),
+ ReadState = table.Column(type: "bit", nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "NVarchar(500)", maxLength: 500, nullable: true)
},
@@ -545,8 +545,8 @@ namespace TaskManager.EntityFramework.Migrations
QualificationLevel = table.Column(type: "VARCHAR(16)", maxLength: 16, nullable: false),
CheckInTime = table.Column(type: "datetime2", nullable: false),
CheckOutTime = table.Column(type: "datetime2", nullable: true),
- WriteState = table.Column(type: "bit", nullable: false, defaultValue: false),
- ReadState = table.Column(type: "bit", nullable: false, defaultValue: true),
+ WriteState = table.Column(type: "bit", nullable: false),
+ ReadState = table.Column(type: "bit", nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "NVarchar(500)", maxLength: 500, nullable: true),
TaskId = table.Column(type: "uniqueidentifier", nullable: false),
@@ -582,8 +582,8 @@ namespace TaskManager.EntityFramework.Migrations
VendorProductName = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
CheryProductNo = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
CheryProductName = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
- WriteState = table.Column(type: "bit", nullable: false, defaultValue: false),
- ReadState = table.Column