add ToTreeList tests #268

This commit is contained in:
28810
2020-04-10 13:09:08 +08:00
parent f9566af7d1
commit 4e4240ff7a
24 changed files with 1291 additions and 283 deletions

View File

@ -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();