Update CodeFirst

This commit is contained in:
sunkaixuan
2017-06-25 19:16:10 +08:00
parent 775977fcf8
commit 2a30d4f62c
6 changed files with 57 additions and 23 deletions

View File

@@ -21,8 +21,8 @@ namespace OrmTest.Demo
public DateTime? DateTime { get; set; }
[SugarColumn(IsNullable = true,OldColumnName = "Dob")]
public double? Dob2 { get; set; }
[SugarColumn(Length =10)]
public string A { get; set; }
[SugarColumn(Length =110)]
public string A1 { get; set; }
}
public class CodeTable2 {
public int Id { get; set; }