/// <summary>
 /// Create a new StatusGroup object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="descriptorId">Initial value of the DescriptorId property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 public static StatusGroup CreateStatusGroup(global::System.Int32 id, global::System.Int32 descriptorId, global::System.String code, global::System.DateTime created)
 {
     StatusGroup statusGroup = new StatusGroup();
     statusGroup.Id = id;
     statusGroup.DescriptorId = descriptorId;
     statusGroup.Code = code;
     statusGroup.Created = created;
     return statusGroup;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the StatusGroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStatusGroups(StatusGroup statusGroup)
 {
     base.AddObject("StatusGroups", statusGroup);
 }