/// <summary> /// Deprecated Method for adding a new object to the FriendGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFriendGroups(FriendGroup friendGroup) { base.AddObject("FriendGroups", friendGroup); }
/// <summary> /// Create a new FriendGroup object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="createdAt">Initial value of the CreatedAt property.</param> public static FriendGroup CreateFriendGroup(global::System.Int32 id, global::System.Guid userId, global::System.String name, global::System.DateTime createdAt) { FriendGroup friendGroup = new FriendGroup(); friendGroup.Id = id; friendGroup.UserId = userId; friendGroup.Name = name; friendGroup.CreatedAt = createdAt; return friendGroup; }