Ejemplo n.º 1
0
 /// <summary>
 /// 將新物件加入 tblTC EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTotblTC(tblTC tblTC)
 {
     base.AddObject("tblTC", tblTC);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 建立新 tblTC 物件。
 /// </summary>
 /// <param name="cONTROLLER_ID">CONTROLLER_ID 屬性的初始值。</param>
 /// <param name="sITE_ID">SITE_ID 屬性的初始值。</param>
 /// <param name="mFCC_ID">MFCC_ID 屬性的初始值。</param>
 /// <param name="iSCONNECTED">ISCONNECTED 屬性的初始值。</param>
 /// <param name="iP">IP 屬性的初始值。</param>
 /// <param name="pORT">PORT 屬性的初始值。</param>
 /// <param name="hW_STATUS_1">HW_STATUS_1 屬性的初始值。</param>
 /// <param name="hW_STATUS_2">HW_STATUS_2 屬性的初始值。</param>
 /// <param name="hW_STATUS_3">HW_STATUS_3 屬性的初始值。</param>
 /// <param name="hW_STATUS_4">HW_STATUS_4 屬性的初始值。</param>
 /// <param name="eNABLE">ENABLE 屬性的初始值。</param>
 public static tblTC CreatetblTC(global::System.Int32 cONTROLLER_ID, global::System.String sITE_ID, global::System.String mFCC_ID, global::System.String iSCONNECTED, global::System.String iP, global::System.Int32 pORT, global::System.Byte hW_STATUS_1, global::System.Byte hW_STATUS_2, global::System.Byte hW_STATUS_3, global::System.Byte hW_STATUS_4, global::System.String eNABLE)
 {
     tblTC tblTC = new tblTC();
     tblTC.CONTROLLER_ID = cONTROLLER_ID;
     tblTC.SITE_ID = sITE_ID;
     tblTC.MFCC_ID = mFCC_ID;
     tblTC.ISCONNECTED = iSCONNECTED;
     tblTC.IP = iP;
     tblTC.PORT = pORT;
     tblTC.HW_STATUS_1 = hW_STATUS_1;
     tblTC.HW_STATUS_2 = hW_STATUS_2;
     tblTC.HW_STATUS_3 = hW_STATUS_3;
     tblTC.HW_STATUS_4 = hW_STATUS_4;
     tblTC.ENABLE = eNABLE;
     return tblTC;
 }