mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-26 14:15:50 +08:00
Optimize the PGSQL
This commit is contained in:
@@ -45,8 +45,18 @@ namespace OrmTest
|
||||
}
|
||||
}).ExecuteCommand();
|
||||
var xxx = Db.Queryable<UnitArray311>().ToList();
|
||||
|
||||
Db.CodeFirst.InitTables<UnitUUID1XX>();
|
||||
Db.Insertable(new UnitUUID1XX() { ID = Guid.NewGuid() }).ExecuteCommand();
|
||||
var x1 = Db.Queryable<UnitUUID1XX>().ToList();
|
||||
}
|
||||
}
|
||||
|
||||
public class UnitUUID1XX
|
||||
{
|
||||
[SugarColumn(ColumnDataType ="uuid")]
|
||||
public Guid ID { get; set; }
|
||||
}
|
||||
public class UnitArray311
|
||||
{
|
||||
[SugarColumn(IsArray =true,ColumnDataType ="text []" )]
|
||||
|
||||
Reference in New Issue
Block a user