Example #1
0
        /// <summary>
        /// 创建新的 TRANS_DETAIL 对象。
        /// </summary>
        /// <param name="tRANS_ID">TRANS_ID 属性的初始值。</param>
        /// <param name="sTRATEGY_CODE">STRATEGY_CODE 属性的初始值。</param>
        /// <param name="sTOCK_CODE">STOCK_CODE 属性的初始值。</param>
        /// <param name="tRANS_DATETIME">TRANS_DATETIME 属性的初始值。</param>
        /// <param name="tRANS_DIRECTION">TRANS_DIRECTION 属性的初始值。</param>
        /// <param name="tRANS_TYPE">TRANS_TYPE 属性的初始值。</param>
        /// <param name="tRANS_VOLUME">TRANS_VOLUME 属性的初始值。</param>
        /// <param name="tRANS_PRICE">TRANS_PRICE 属性的初始值。</param>
        public static TRANS_DETAIL CreateTRANS_DETAIL(global::System.Int32 tRANS_ID, global::System.String sTRATEGY_CODE, global::System.String sTOCK_CODE, global::System.DateTime tRANS_DATETIME, global::System.String tRANS_DIRECTION, global::System.String tRANS_TYPE, global::System.Int32 tRANS_VOLUME, global::System.Decimal tRANS_PRICE)
        {
            TRANS_DETAIL tRANS_DETAIL = new TRANS_DETAIL();

            tRANS_DETAIL.TRANS_ID        = tRANS_ID;
            tRANS_DETAIL.STRATEGY_CODE   = sTRATEGY_CODE;
            tRANS_DETAIL.STOCK_CODE      = sTOCK_CODE;
            tRANS_DETAIL.TRANS_DATETIME  = tRANS_DATETIME;
            tRANS_DETAIL.TRANS_DIRECTION = tRANS_DIRECTION;
            tRANS_DETAIL.TRANS_TYPE      = tRANS_TYPE;
            tRANS_DETAIL.TRANS_VOLUME    = tRANS_VOLUME;
            tRANS_DETAIL.TRANS_PRICE     = tRANS_PRICE;
            return(tRANS_DETAIL);
        }
 /// <summary>
 /// 创建新的 TRANS_DETAIL 对象。
 /// </summary>
 /// <param name="tRANS_ID">TRANS_ID 属性的初始值。</param>
 /// <param name="sTRATEGY_CODE">STRATEGY_CODE 属性的初始值。</param>
 /// <param name="sTOCK_CODE">STOCK_CODE 属性的初始值。</param>
 /// <param name="tRANS_DATETIME">TRANS_DATETIME 属性的初始值。</param>
 /// <param name="tRANS_DIRECTION">TRANS_DIRECTION 属性的初始值。</param>
 /// <param name="tRANS_TYPE">TRANS_TYPE 属性的初始值。</param>
 /// <param name="tRANS_VOLUME">TRANS_VOLUME 属性的初始值。</param>
 /// <param name="tRANS_PRICE">TRANS_PRICE 属性的初始值。</param>
 public static TRANS_DETAIL CreateTRANS_DETAIL(global::System.Int32 tRANS_ID, global::System.String sTRATEGY_CODE, global::System.String sTOCK_CODE, global::System.DateTime tRANS_DATETIME, global::System.String tRANS_DIRECTION, global::System.String tRANS_TYPE, global::System.Int32 tRANS_VOLUME, global::System.Decimal tRANS_PRICE)
 {
     TRANS_DETAIL tRANS_DETAIL = new TRANS_DETAIL();
     tRANS_DETAIL.TRANS_ID = tRANS_ID;
     tRANS_DETAIL.STRATEGY_CODE = sTRATEGY_CODE;
     tRANS_DETAIL.STOCK_CODE = sTOCK_CODE;
     tRANS_DETAIL.TRANS_DATETIME = tRANS_DATETIME;
     tRANS_DETAIL.TRANS_DIRECTION = tRANS_DIRECTION;
     tRANS_DETAIL.TRANS_TYPE = tRANS_TYPE;
     tRANS_DETAIL.TRANS_VOLUME = tRANS_VOLUME;
     tRANS_DETAIL.TRANS_PRICE = tRANS_PRICE;
     return tRANS_DETAIL;
 }
Example #3
0
 /// <summary>
 /// 用于向 TRANS_DETAILS EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToTRANS_DETAILS(TRANS_DETAIL tRANS_DETAIL)
 {
     base.AddObject("TRANS_DETAILS", tRANS_DETAIL);
 }
 /// <summary>
 /// 用于向 TRANS_DETAILS EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToTRANS_DETAILS(TRANS_DETAIL tRANS_DETAIL)
 {
     base.AddObject("TRANS_DETAILS", tRANS_DETAIL);
 }