Exemple #1
0
 /// <summary>
 /// Create a new JobMaintLog object.
 /// </summary>
 /// <param name="maintId">Initial value of the MaintId property.</param>
 /// <param name="maintDate">Initial value of the MaintDate property.</param>
 /// <param name="jobId">Initial value of the JobId property.</param>
 /// <param name="meterHours">Initial value of the MeterHours property.</param>
 /// <param name="accumOprHours">Initial value of the AccumOprHours property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 public static JobMaintLog CreateJobMaintLog(global::System.Int32 maintId, global::System.DateTime maintDate, global::System.String jobId, global::System.Int32 meterHours, global::System.Int32 accumOprHours, global::System.Int32 userId)
 {
     JobMaintLog jobMaintLog = new JobMaintLog();
     jobMaintLog.MaintId = maintId;
     jobMaintLog.MaintDate = maintDate;
     jobMaintLog.JobId = jobId;
     jobMaintLog.MeterHours = meterHours;
     jobMaintLog.AccumOprHours = accumOprHours;
     jobMaintLog.UserId = userId;
     return jobMaintLog;
 }
Exemple #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the JobMaintLog EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToJobMaintLog(JobMaintLog jobMaintLog)
 {
     base.AddObject("JobMaintLog", jobMaintLog);
 }