Пример #1
0
 /// <summary>
 /// 建立新 vwR23WaterAlarm 物件。
 /// </summary>
 /// <param name="timestamp">Timestamp 屬性的初始值。</param>
 /// <param name="eRName">ERName 屬性的初始值。</param>
 /// <param name="item">Item 屬性的初始值。</param>
 /// <param name="explain">Explain 屬性的初始值。</param>
 /// <param name="planeID">PlaneID 屬性的初始值。</param>
 public static vwR23WaterAlarm CreatevwR23WaterAlarm(global::System.DateTime timestamp, global::System.String eRName, global::System.String item, global::System.String explain, global::System.String planeID)
 {
     vwR23WaterAlarm vwR23WaterAlarm = new vwR23WaterAlarm();
     vwR23WaterAlarm.Timestamp = timestamp;
     vwR23WaterAlarm.ERName = eRName;
     vwR23WaterAlarm.Item = item;
     vwR23WaterAlarm.Explain = explain;
     vwR23WaterAlarm.PlaneID = planeID;
     return vwR23WaterAlarm;
 }
Пример #2
0
 /// <summary>
 /// 將新物件加入 vwR23WaterAlarm EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTovwR23WaterAlarm(vwR23WaterAlarm vwR23WaterAlarm)
 {
     base.AddObject("vwR23WaterAlarm", vwR23WaterAlarm);
 }