Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MaintCheckLog EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMaintCheckLog(MaintCheckLog maintCheckLog)
 {
     base.AddObject("MaintCheckLog", maintCheckLog);
 }
Example #2
0
 /// <summary>
 /// Create a new MaintCheckLog object.
 /// </summary>
 /// <param name="maintCheckLogId">Initial value of the MaintCheckLogId property.</param>
 /// <param name="maintCheckLogDate">Initial value of the MaintCheckLogDate property.</param>
 /// <param name="equipmentId">Initial value of the EquipmentId property.</param>
 /// <param name="maintCheckId">Initial value of the MaintCheckId property.</param>
 /// <param name="actualReading">Initial value of the ActualReading property.</param>
 public static MaintCheckLog CreateMaintCheckLog(global::System.Int32 maintCheckLogId, global::System.DateTime maintCheckLogDate, global::System.Int32 equipmentId, global::System.Int32 maintCheckId, global::System.Int32 actualReading)
 {
     MaintCheckLog maintCheckLog = new MaintCheckLog();
     maintCheckLog.MaintCheckLogId = maintCheckLogId;
     maintCheckLog.MaintCheckLogDate = maintCheckLogDate;
     maintCheckLog.EquipmentId = equipmentId;
     maintCheckLog.MaintCheckId = maintCheckId;
     maintCheckLog.ActualReading = actualReading;
     return maintCheckLog;
 }