/// <summary>
 /// Deprecated Method for adding a new object to the JobGroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToJobGroups(JobGroup jobGroup)
 {
     base.AddObject("JobGroups", jobGroup);
 }
 /// <summary>
 /// Create a new JobGroup object.
 /// </summary>
 /// <param name="masterJobId">Initial value of the MasterJobId property.</param>
 /// <param name="resourceType">Initial value of the ResourceType property.</param>
 /// <param name="ruleCount">Initial value of the RuleCount property.</param>
 /// <param name="uri">Initial value of the Uri property.</param>
 public static JobGroup CreateJobGroup(global::System.Guid masterJobId, global::System.String resourceType, global::System.Int32 ruleCount, global::System.String uri)
 {
     JobGroup jobGroup = new JobGroup();
     jobGroup.MasterJobId = masterJobId;
     jobGroup.ResourceType = resourceType;
     jobGroup.RuleCount = ruleCount;
     jobGroup.Uri = uri;
     return jobGroup;
 }