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