zoukankan      html  css  js  c++  java
  • 仅供个人参考,其他人毫无参考意义。

    注意:此文献仅供个人参考,其他人毫无参考意义。

    有关项目中需要把一个EntityList中的数据拿出来放入另一个EntityList,使用EntityList.Import(Entity)方法。

     1      public CoPaymentSchemeItemPriceEntityList CoPaymentSchemeItemPriceList
     2         {
     3             get { return _CoPaymentSchemeItemPriceList; }
     4             set
     5             {
     6                 _CoPaymentSchemeItemPriceList = value;
     7                 NotifyPropertyChanged("CoPaymentSchemeItemPriceList", this);
     8                 NotifyPropertyChanged("CoPaymentSchemeItemDrugPriceList", this);
     9             }
    10         }
    11         public CoPaymentSchemeItemPriceEntityList CoPaymentSchemeItemDrugPriceList
    12         {
    13             get
    14             {
    15                 var CoPaymentSchemeItemDrugPrice = new CoPaymentSchemeItemPriceEntityList();
    16                 CoPaymentSchemeItemDrugPrice.InitEntityList();
    17                 foreach (var item in CoPaymentSchemeItemPriceList)
    18                 {
    19                     if (item.ItemType == "Drug")
    20                         CoPaymentSchemeItemDrugPrice.Import(item);
    21                 }
    22                 return CoPaymentSchemeItemDrugPrice;
    23             }
    24         }

  • 相关阅读:
    makefile vpath变量
    博客园 文章和随笔区别
    Linux OpenGL 实践篇-6 光照
    HTC Vive 叠影器无法创建设备
    Mybatis注解
    MyBatis缓存
    MyBatis关联映射
    动态sql
    MyBatis智能标签
    Mybatis模糊查询及自动映射
  • 原文地址:https://www.cnblogs.com/zqt14520/p/8572190.html
Copyright © 2011-2022 走看看