/// <summary>
 /// 將新物件加入 vwDeviceStateLog EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTovwDeviceStateLog(vwDeviceStateLog vwDeviceStateLog)
 {
     base.AddObject("vwDeviceStateLog", vwDeviceStateLog);
 }
 /// <summary>
 /// 建立新 vwDeviceStateLog 物件。
 /// </summary>
 /// <param name="flowID">FlowID 屬性的初始值。</param>
 /// <param name="eRID">ERID 屬性的初始值。</param>
 /// <param name="eRName">ERName 屬性的初始值。</param>
 /// <param name="controlID">ControlID 屬性的初始值。</param>
 /// <param name="timeStamp">TimeStamp 屬性的初始值。</param>
 /// <param name="typeID">TypeID 屬性的初始值。</param>
 /// <param name="typeCode">TypeCode 屬性的初始值。</param>
 public static vwDeviceStateLog CreatevwDeviceStateLog(global::System.Int64 flowID, global::System.Int32 eRID, global::System.String eRName, global::System.String controlID, global::System.DateTime timeStamp, global::System.Int16 typeID, global::System.Int16 typeCode)
 {
     vwDeviceStateLog vwDeviceStateLog = new vwDeviceStateLog();
     vwDeviceStateLog.FlowID = flowID;
     vwDeviceStateLog.ERID = eRID;
     vwDeviceStateLog.ERName = eRName;
     vwDeviceStateLog.ControlID = controlID;
     vwDeviceStateLog.TimeStamp = timeStamp;
     vwDeviceStateLog.TypeID = typeID;
     vwDeviceStateLog.TypeCode = typeCode;
     return vwDeviceStateLog;
 }