示例#1
0
文件: Mapper.cs 项目: nsarris/DALIA
 public void ConfigManual(IProfileExpression cfg)
 {
     cfg.FromExpression(
         (DataModel.Northwind.Customer c) => new DomainModel.Customer
     {
         CustomerID = c.CustomerID,
         Address    = c.Orders.Count().ToString()
     });
 }