mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 13:06:50 +08:00
Update unit test
This commit is contained in:
parent
5e343ad892
commit
724b8278d2
@ -81,6 +81,8 @@ namespace OrmTest
|
||||
var res1 = Db.Updateable(list).WhereColumns(it => it.pk).ExecuteCommand();
|
||||
|
||||
Db.CodeFirst.InitTables<UnitUUIDARRAY>();
|
||||
Db.DbMaintenance.TruncateTable<UnitUUIDARRAY>();
|
||||
Db.Insertable(new UnitUUIDARRAY()).ExecuteCommand();
|
||||
var pars = Db.Updateable(new UnitUUIDARRAY() { id = 0 }).ExecuteCommand();
|
||||
}
|
||||
}
|
||||
@ -88,7 +90,7 @@ namespace OrmTest
|
||||
[SugarTable("UnitUUIDARRAY1")]
|
||||
public class UnitUUIDARRAY
|
||||
{
|
||||
[SugarColumn(ColumnDataType = "uuid []",IsArray =true)]
|
||||
[SugarColumn(ColumnDataType = "uuid []",IsArray =true,IsNullable =true)]
|
||||
public Guid[] ids { get; set; }
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
public int id { get; set; }
|
||||
|
Loading…
Reference in New Issue
Block a user