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