/// <summary>
 /// Create a new Group object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="ownerId">Initial value of the OwnerId property.</param>
 public static Group CreateGroup(global::System.Int32 id, global::System.String name, global::System.Int32 ownerId)
 {
     Group group = new Group();
     group.Id = id;
     group.Name = name;
     group.OwnerId = ownerId;
     return group;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Groups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGroups(Group group)
 {
     base.AddObject("Groups", group);
 }