Update CodeFirst

This commit is contained in:
sunkaixuan 2019-05-25 13:10:56 +08:00
parent 8dafaf1c8b
commit 70f7c85e46
2 changed files with 10 additions and 0 deletions

View File

@ -171,6 +171,7 @@ namespace SqlSugar
column.SerializeDateTimeFormat = sugarColumn.SerializeDateTimeFormat;
column.IsJson = sugarColumn.IsJson;
column.NoSerialize = sugarColumn.NoSerialize;
column.DefaultValue = sugarColumn.DefaultValue;
}
else
{

View File

@ -148,6 +148,15 @@ namespace SqlSugar
get { return _IsJson; }
set { _IsJson = value; }
}
private string _DefaultValue;
public string DefaultValue
{
get { return _DefaultValue; }
set { _DefaultValue = value; }
}
}
}