/// <summary>
 /// Deprecated Method for adding a new object to the MonitorInstances EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMonitorInstances(MonitorInstances monitorInstances)
 {
     base.AddObject("MonitorInstances", monitorInstances);
 }
 /// <summary>
 /// Create a new MonitorInstances object.
 /// </summary>
 /// <param name="monitorInstanceId">Initial value of the MonitorInstanceId property.</param>
 /// <param name="flowPosition">Initial value of the FlowPosition property.</param>
 /// <param name="startDate">Initial value of the StartDate property.</param>
 /// <param name="startTime">Initial value of the StartTime property.</param>
 /// <param name="frequency">Initial value of the Frequency property.</param>
 /// <param name="objectType">Initial value of the ObjectType property.</param>
 /// <param name="objectId">Initial value of the ObjectId property.</param>
 /// <param name="metric">Initial value of the Metric property.</param>
 /// <param name="destinationType">Initial value of the DestinationType property.</param>
 public static MonitorInstances CreateMonitorInstances(global::System.Int32 monitorInstanceId, global::System.Int32 flowPosition, global::System.DateTime startDate, global::System.TimeSpan startTime, global::System.String frequency, global::System.String objectType, global::System.String objectId, global::System.String metric, global::System.String destinationType)
 {
     MonitorInstances monitorInstances = new MonitorInstances();
     monitorInstances.MonitorInstanceId = monitorInstanceId;
     monitorInstances.FlowPosition = flowPosition;
     monitorInstances.StartDate = startDate;
     monitorInstances.StartTime = startTime;
     monitorInstances.Frequency = frequency;
     monitorInstances.ObjectType = objectType;
     monitorInstances.ObjectId = objectId;
     monitorInstances.Metric = metric;
     monitorInstances.DestinationType = destinationType;
     return monitorInstances;
 }