Пример #1
0
        /// <summary>
        /// 创建新的 TRANS_RELATION 对象。
        /// </summary>
        /// <param name="oPEN_TRANS_ID">OPEN_TRANS_ID 属性的初始值。</param>
        /// <param name="cLOSE_TRANS_ID">CLOSE_TRANS_ID 属性的初始值。</param>
        public static TRANS_RELATION CreateTRANS_RELATION(global::System.Int32 oPEN_TRANS_ID, global::System.Int32 cLOSE_TRANS_ID)
        {
            TRANS_RELATION tRANS_RELATION = new TRANS_RELATION();

            tRANS_RELATION.OPEN_TRANS_ID  = oPEN_TRANS_ID;
            tRANS_RELATION.CLOSE_TRANS_ID = cLOSE_TRANS_ID;
            return(tRANS_RELATION);
        }
 /// <summary>
 /// 创建新的 TRANS_RELATION 对象。
 /// </summary>
 /// <param name="oPEN_TRANS_ID">OPEN_TRANS_ID 属性的初始值。</param>
 /// <param name="cLOSE_TRANS_ID">CLOSE_TRANS_ID 属性的初始值。</param>
 public static TRANS_RELATION CreateTRANS_RELATION(global::System.Int32 oPEN_TRANS_ID, global::System.Int32 cLOSE_TRANS_ID)
 {
     TRANS_RELATION tRANS_RELATION = new TRANS_RELATION();
     tRANS_RELATION.OPEN_TRANS_ID = oPEN_TRANS_ID;
     tRANS_RELATION.CLOSE_TRANS_ID = cLOSE_TRANS_ID;
     return tRANS_RELATION;
 }
Пример #3
0
 /// <summary>
 /// 用于向 TRANS_RELATIONS EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToTRANS_RELATIONS(TRANS_RELATION tRANS_RELATION)
 {
     base.AddObject("TRANS_RELATIONS", tRANS_RELATION);
 }
 /// <summary>
 /// 用于向 TRANS_RELATIONS EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToTRANS_RELATIONS(TRANS_RELATION tRANS_RELATION)
 {
     base.AddObject("TRANS_RELATIONS", tRANS_RELATION);
 }