0
我該怎麼做,即保持映射分離?用LinqtoSql返回域映射列表
取而代之的是:
var people= (from p in db.people select new Person{
id=p.id,
name=p.name
}).ToList();
我想這樣做:
var people= (from p is db.people select new Person {
***MAPTODOMAIN(p)***
}).ToList();