/// <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); }
/// <summary> /// Create a new Group object. /// </summary> /// <param name="groupID">Initial value of the GroupID property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> public static Group CreateGroup(global::System.Int32 groupID, global::System.DateTime createdDate) { Group group = new Group(); group.GroupID = groupID; group.CreatedDate = createdDate; return group; }