/// <summary>
 /// Deprecated Method for adding a new object to the AssetMaintenanceSchedules EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAssetMaintenanceSchedules(AssetMaintenanceSchedule assetMaintenanceSchedule)
 {
     base.AddObject("AssetMaintenanceSchedules", assetMaintenanceSchedule);
 }
 /// <summary>
 /// Create a new AssetMaintenanceSchedule object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="maintenanceTypeIntervalInMonths">Initial value of the MaintenanceTypeIntervalInMonths property.</param>
 /// <param name="assetMaintenanceSchedule_Asset">Initial value of the AssetMaintenanceSchedule_Asset property.</param>
 /// <param name="assetMaintenanceSchedule_AssetMaintenanceType">Initial value of the AssetMaintenanceSchedule_AssetMaintenanceType property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static AssetMaintenanceSchedule CreateAssetMaintenanceSchedule(global::System.Int32 id, global::System.Int32 maintenanceTypeIntervalInMonths, global::System.Int32 assetMaintenanceSchedule_Asset, global::System.Int32 assetMaintenanceSchedule_AssetMaintenanceType, global::System.Byte[] rowVersion)
 {
     AssetMaintenanceSchedule assetMaintenanceSchedule = new AssetMaintenanceSchedule();
     assetMaintenanceSchedule.Id = id;
     assetMaintenanceSchedule.MaintenanceTypeIntervalInMonths = maintenanceTypeIntervalInMonths;
     assetMaintenanceSchedule.AssetMaintenanceSchedule_Asset = assetMaintenanceSchedule_Asset;
     assetMaintenanceSchedule.AssetMaintenanceSchedule_AssetMaintenanceType = assetMaintenanceSchedule_AssetMaintenanceType;
     assetMaintenanceSchedule.RowVersion = rowVersion;
     return assetMaintenanceSchedule;
 }