瀏覽代碼

SqlServer test, remove Required

Lith 6 月之前
父節點
當前提交
cc9c7dda54
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/Vitorm.SqlServer.MsTest/DataSource.cs

+ 1 - 1
test/Vitorm.SqlServer.MsTest/DataSource.cs

@@ -13,7 +13,7 @@ namespace Vitorm.MsTest
         public int id { get; set; }
 
         [System.ComponentModel.DataAnnotations.Schema.Column("userName", TypeName = "varchar(1000)")]
-        [System.ComponentModel.DataAnnotations.Required]
+        //[System.ComponentModel.DataAnnotations.Required]
         public string name { get; set; }
         [System.ComponentModel.DataAnnotations.Schema.Column("userBirth")]
         public DateTime? birth { get; set; }