Update demo

This commit is contained in:
sunkaixuan
2019-05-27 20:32:40 +08:00
parent 73dc46458e
commit 12425a4e5a
11 changed files with 332 additions and 29 deletions

View File

@@ -8,7 +8,7 @@ namespace OrmTest
[SqlSugar.SugarTable("OrderDetail")]
public class OrderItem
{
[SqlSugar.SugarColumn(IsPrimaryKey =true, IsIdentity =true)]
[SqlSugar.SugarColumn(IsPrimaryKey =true, OracleSequenceName = "seq_newsId")]
public int ItemId { get; set; }
public int OrderId { get; set; }
public decimal? Price { get; set; }