예제 #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()
     });
 }