标签:data rtu ret sele elf tom lis 转换 bsp
var gridModel = new DataSourceResult
{
Data = customers.Select(PrepareCustomerModelForList),
Total = customers.TotalCount
};
protected virtual CustomerModel PrepareCustomerModelForList(Customer customer)
{
return new CustomerModel
{
X1 = customer.X1
}
}
标签:data rtu ret sele elf tom lis 转换 bsp
原文地址:http://www.cnblogs.com/opts/p/7827545.html