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