Update Demo

This commit is contained in:
sunkaixuan
2019-06-04 20:07:51 +08:00
parent 4ea9b897e2
commit ff4c576306
5 changed files with 11 additions and 47 deletions

View File

@@ -28,10 +28,9 @@ namespace OrmTest
public class CodeFirstTable1
{
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
[SugarColumn(OracleSequenceName ="SEQ_ID", IsPrimaryKey = true)]
public int Id { get; set; }
public string Name { get; set; }
[SugarColumn(ColumnDataType = "Nvarchar(255)")]//custom
public string Text { get; set; }
[SugarColumn(IsNullable = true)]
public DateTime CreateTime { get; set; }