/// <summary>
 /// Deprecated Method for adding a new object to the Friends EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFriends(Friend friend)
 {
     base.AddObject("Friends", friend);
 }
 /// <summary>
 /// Create a new Friend object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="userID">Initial value of the UserID property.</param>
 /// <param name="friendID">Initial value of the FriendID property.</param>
 /// <param name="friendshipDate">Initial value of the FriendshipDate property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 public static Friend CreateFriend(global::System.Guid id, global::System.Guid userID, global::System.Guid friendID, global::System.DateTime friendshipDate, global::System.Boolean isDeleted)
 {
     Friend friend = new Friend();
     friend.ID = id;
     friend.UserID = userID;
     friend.FriendID = friendID;
     friend.FriendshipDate = friendshipDate;
     friend.IsDeleted = isDeleted;
     return friend;
 }