/// <summary> /// 创建新的 ATTACHMENT 对象。 /// </summary> /// <param name="aTTACH_ID">ATTACH_ID 属性的初始值。</param> /// <param name="oWNER_ID">OWNER_ID 属性的初始值。</param> /// <param name="oWNER_TYPE">OWNER_TYPE 属性的初始值。</param> /// <param name="pATH">PATH 属性的初始值。</param> public static ATTACHMENT CreateATTACHMENT(global::System.Int32 aTTACH_ID, global::System.Int32 oWNER_ID, global::System.Int32 oWNER_TYPE, global::System.String pATH) { ATTACHMENT aTTACHMENT = new ATTACHMENT(); aTTACHMENT.ATTACH_ID = aTTACH_ID; aTTACHMENT.OWNER_ID = oWNER_ID; aTTACHMENT.OWNER_TYPE = oWNER_TYPE; aTTACHMENT.PATH = pATH; return aTTACHMENT; }
/// <summary> /// 用于向 ATTACHMENT EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToATTACHMENT(ATTACHMENT aTTACHMENT) { base.AddObject("ATTACHMENT", aTTACHMENT); }