mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
add ToTreeList tests #268
This commit is contained in:
@ -148,7 +148,7 @@ namespace FreeSql.Tests
|
||||
|
||||
//֧<><D6A7> 1<>Զ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
using (var ctx = new FreeContext(g.sqlite))
|
||||
using (var ctx = g.sqlite.CreateDbContext())
|
||||
{
|
||||
|
||||
var tags = ctx.Set<Tag>().Select.IncludeMany(a => a.Tags).ToList();
|
||||
@ -177,7 +177,7 @@ namespace FreeSql.Tests
|
||||
{
|
||||
//<2F><>ѯ 1<>Զ࣬<D4B6>ټ<EFBFBD><D9BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
using (var ctx = new FreeContext(g.sqlite))
|
||||
using (var ctx = g.sqlite.CreateDbContext())
|
||||
{
|
||||
|
||||
var tag = ctx.Set<Tag>().Select.First();
|
||||
|
Reference in New Issue
Block a user