/// <summary> /// Create a new UserGroup object. /// </summary> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="groupID">Initial value of the GroupID property.</param> public static UserGroup CreateUserGroup(global::System.String userID, global::System.Int32 groupID) { UserGroup userGroup = new UserGroup(); userGroup.UserID = userID; userGroup.GroupID = groupID; return userGroup; }
/// <summary> /// Deprecated Method for adding a new object to the UserGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserGroups(UserGroup userGroup) { base.AddObject("UserGroups", userGroup); }