## v0.12.12 #150

This commit is contained in:
28810
2019-12-09 09:10:41 +08:00
parent 65e3ed0091
commit a33cad02cc
16 changed files with 27 additions and 23 deletions

View File

@ -26,10 +26,21 @@ namespace FreeSql.Tests
g.sqlite.CodeFirst.SyncStructure<Tag>();
g.sqlite.CodeFirst.SyncStructure<Song>();
var test150_01 = g.sqlite.GetRepository<Tag>()
.Select.From<Tag>((s, b) => s.InnerJoin(a => a.Id == b.Id))
.ToList((a, b) => new
{
a.Id,
a.Name,
id2 = b.Id,
name2 = b.Name
});
using (var ctx = g.sqlite.CreateDbContext())
{
var test150 = ctx.Set<Tag>()
var test150_02 = ctx.Set<Tag>()
.Select.From<Tag>((s, b) => s.InnerJoin(a => a.Id == b.Id))
.ToList((a, b) => new
{