/// <summary> /// 建立新 vwEntranceGuardDetail 物件。 /// </summary> /// <param name="eRID">ERID 屬性的初始值。</param> /// <param name="eRName">ERName 屬性的初始值。</param> /// <param name="controlID">ControlID 屬性的初始值。</param> /// <param name="controlType">ControlType 屬性的初始值。</param> public static vwEntranceGuardDetail CreatevwEntranceGuardDetail(global::System.Int32 eRID, global::System.String eRName, global::System.String controlID, global::System.Int16 controlType) { vwEntranceGuardDetail vwEntranceGuardDetail = new vwEntranceGuardDetail(); vwEntranceGuardDetail.ERID = eRID; vwEntranceGuardDetail.ERName = eRName; vwEntranceGuardDetail.ControlID = controlID; vwEntranceGuardDetail.ControlType = controlType; return vwEntranceGuardDetail; }
/// <summary> /// 將新物件加入 vwEntranceGuardDetail EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet<T> 屬性的 .Add 方法。 /// </summary> public void AddTovwEntranceGuardDetail(vwEntranceGuardDetail vwEntranceGuardDetail) { base.AddObject("vwEntranceGuardDetail", vwEntranceGuardDetail); }