예제 #1
0
 /// <summary>
 /// 建立新 vwR23PDAlarm 物件。
 /// </summary>
 /// <param name="timestamp">Timestamp 屬性的初始值。</param>
 /// <param name="pDName">PDName 屬性的初始值。</param>
 /// <param name="pDItemDetail">PDItemDetail 屬性的初始值。</param>
 public static vwR23PDAlarm CreatevwR23PDAlarm(global::System.DateTime timestamp, global::System.String pDName, global::System.String pDItemDetail)
 {
     vwR23PDAlarm vwR23PDAlarm = new vwR23PDAlarm();
     vwR23PDAlarm.Timestamp = timestamp;
     vwR23PDAlarm.PDName = pDName;
     vwR23PDAlarm.PDItemDetail = pDItemDetail;
     return vwR23PDAlarm;
 }
예제 #2
0
 /// <summary>
 /// 將新物件加入 vwR23PDAlarm EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTovwR23PDAlarm(vwR23PDAlarm vwR23PDAlarm)
 {
     base.AddObject("vwR23PDAlarm", vwR23PDAlarm);
 }