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