/// <summary> /// 建立新 tblSingalIO 物件。 /// </summary> /// <param name="controlID">ControlID 屬性的初始值。</param> /// <param name="singalName">SingalName 屬性的初始值。</param> public static tblSingalIO CreatetblSingalIO(global::System.String controlID, global::System.String singalName) { tblSingalIO tblSingalIO = new tblSingalIO(); tblSingalIO.ControlID = controlID; tblSingalIO.SingalName = singalName; return tblSingalIO; }
/// <summary> /// 將新物件加入 tblSingalIO EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet<T> 屬性的 .Add 方法。 /// </summary> public void AddTotblSingalIO(tblSingalIO tblSingalIO) { base.AddObject("tblSingalIO", tblSingalIO); }