zoukankan      html  css  js  c++  java
  • 从LIst查询数据生成新的List

          var query = from x in List
                      select new Bank
                      {
                        ID = x.ID,
                        ParentID = x.ParentID,
                        Name = x.Name,
                        LayerCode = x.LayerCode,
                        CreateDateTime = x.CreateDateTime,
                        CreatePerson = x.CreatePerson,
                        ChangeDateTime = x.ChangeDateTime,
                        ChangePerson = x.ChangePerson,
                        IsEnabled = x.IsEnabled,
                        IsDelete = x.IsDelete,
                        Remark = x.LayerCode.Trim() + " " + x.Name.Trim(),
                        AccountingSystem = x.AccountingSystem
                      };

  • 相关阅读:
    java 排序
    spring 收藏博文
    转载:一位软件工程师的6年总结
    网站
    jdk配置环境变量的方法
    推荐桌游
    js 猜数字游戏
    html简易计算器的前端代码
    (转载)float与double中的精度问题
    jiaxiang
  • 原文地址:https://www.cnblogs.com/xiaozhuaweiliang/p/List.html
Copyright © 2011-2022 走看看