/// <summary> /// 建立新 vwSchLog 物件。 /// </summary> /// <param name="schID">SchID 屬性的初始值。</param> /// <param name="timeStamp">TimeStamp 屬性的初始值。</param> /// <param name="reportID">ReportID 屬性的初始值。</param> /// <param name="result">Result 屬性的初始值。</param> /// <param name="resultName">ResultName 屬性的初始值。</param> /// <param name="schName">SchName 屬性的初始值。</param> /// <param name="schTypeName">SchTypeName 屬性的初始值。</param> /// <param name="enableName">EnableName 屬性的初始值。</param> /// <param name="reportTypeName">ReportTypeName 屬性的初始值。</param> /// <param name="startTime">StartTime 屬性的初始值。</param> /// <param name="userID">UserID 屬性的初始值。</param> public static vwSchLog CreatevwSchLog(global::System.Int64 schID, global::System.DateTime timeStamp, global::System.Int32 reportID, global::System.Boolean result, global::System.String resultName, global::System.String schName, global::System.String schTypeName, global::System.String enableName, global::System.String reportTypeName, global::System.DateTime startTime, global::System.String userID) { vwSchLog vwSchLog = new vwSchLog(); vwSchLog.SchID = schID; vwSchLog.TimeStamp = timeStamp; vwSchLog.ReportID = reportID; vwSchLog.Result = result; vwSchLog.ResultName = resultName; vwSchLog.SchName = schName; vwSchLog.SchTypeName = schTypeName; vwSchLog.EnableName = enableName; vwSchLog.ReportTypeName = reportTypeName; vwSchLog.StartTime = startTime; vwSchLog.UserID = userID; return vwSchLog; }
/// <summary> /// 將新物件加入 vwSchLog EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet<T> 屬性的 .Add 方法。 /// </summary> public void AddTovwSchLog(vwSchLog vwSchLog) { base.AddObject("vwSchLog", vwSchLog); }