Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MaintSchedule EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMaintSchedule(MaintSchedule maintSchedule)
 {
     base.AddObject("MaintSchedule", maintSchedule);
 }
Example #2
0
 /// <summary>
 /// Create a new MaintSchedule object.
 /// </summary>
 /// <param name="maintScheduleId">Initial value of the MaintScheduleId property.</param>
 /// <param name="equipmentId">Initial value of the EquipmentId property.</param>
 /// <param name="maintCheckId">Initial value of the MaintCheckId property.</param>
 public static MaintSchedule CreateMaintSchedule(global::System.Int32 maintScheduleId, global::System.Int32 equipmentId, global::System.Int32 maintCheckId)
 {
     MaintSchedule maintSchedule = new MaintSchedule();
     maintSchedule.MaintScheduleId = maintScheduleId;
     maintSchedule.EquipmentId = equipmentId;
     maintSchedule.MaintCheckId = maintCheckId;
     return maintSchedule;
 }