mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-02-25 04:27:14 +08:00
Support Mapper Many to Many
This commit is contained in:
@@ -98,9 +98,9 @@ namespace OrmTest
|
||||
|
||||
.ToList();
|
||||
|
||||
//var list8 = Db.Queryable<A>()
|
||||
//.Mapper<ABMapping>(it=>ManyToMany.Config(it.A,it.AId,it.B,it.BId))
|
||||
//.ToList();
|
||||
var list8 = Db.Queryable<A>()
|
||||
.Mapper<A,B,ABMapping>(it => ManyToMany.Config(it.AId,it.BId))
|
||||
.ToList();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user