예제 #1
0
 /// <summary>
 /// 將新物件加入 vwCCTVState EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTovwCCTVState(vwCCTVState vwCCTVState)
 {
     base.AddObject("vwCCTVState", vwCCTVState);
 }
예제 #2
0
 /// <summary>
 /// 建立新 vwCCTVState 物件。
 /// </summary>
 /// <param name="eRID">ERID 屬性的初始值。</param>
 /// <param name="eRName">ERName 屬性的初始值。</param>
 /// <param name="cCTVID">CCTVID 屬性的初始值。</param>
 /// <param name="cCTVName">CCTVName 屬性的初始值。</param>
 /// <param name="iP">IP 屬性的初始值。</param>
 /// <param name="port">Port 屬性的初始值。</param>
 /// <param name="comm_stateName">Comm_stateName 屬性的初始值。</param>
 public static vwCCTVState CreatevwCCTVState(global::System.Int32 eRID, global::System.String eRName, global::System.Int32 cCTVID, global::System.String cCTVName, global::System.String iP, global::System.Int32 port, global::System.String comm_stateName)
 {
     vwCCTVState vwCCTVState = new vwCCTVState();
     vwCCTVState.ERID = eRID;
     vwCCTVState.ERName = eRName;
     vwCCTVState.CCTVID = cCTVID;
     vwCCTVState.CCTVName = cCTVName;
     vwCCTVState.IP = iP;
     vwCCTVState.Port = port;
     vwCCTVState.Comm_stateName = comm_stateName;
     return vwCCTVState;
 }