mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 13:06:50 +08:00
Unit test
This commit is contained in:
parent
64f50838d8
commit
269dcc8a12
@ -49,9 +49,15 @@ namespace OrmTest
|
||||
Db.CodeFirst.InitTables<UnitUUID1XX>();
|
||||
Db.Insertable(new UnitUUID1XX() { ID = Guid.NewGuid() }).ExecuteCommand();
|
||||
var x1 = Db.Queryable<UnitUUID1XX>().ToList();
|
||||
Db.CodeFirst.InitTables<Unitaaar>();
|
||||
Db.Insertable(new Unitaaar() { arr = null }).ExecuteCommand();
|
||||
}
|
||||
}
|
||||
|
||||
public class Unitaaar
|
||||
{
|
||||
[SugarColumn(ColumnDataType = "text []", IsArray = true, IsNullable = true)]
|
||||
public string[] arr { get; set; }
|
||||
}
|
||||
public class UnitUUID1XX
|
||||
{
|
||||
[SugarColumn(ColumnDataType ="uuid")]
|
||||
|
Loading…
Reference in New Issue
Block a user