/// <summary>
 /// Deprecated Method for adding a new object to the Friendships EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFriendships(Friendship friendship)
 {
     base.AddObject("Friendships", friendship);
 }
 /// <summary>
 /// Create a new Friendship object.
 /// </summary>
 /// <param name="userRequestId">Initial value of the UserRequestId property.</param>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="approved">Initial value of the Approved property.</param>
 /// <param name="requestDate">Initial value of the RequestDate property.</param>
 /// <param name="isPet">Initial value of the IsPet property.</param>
 public static Friendship CreateFriendship(global::System.Guid userRequestId, global::System.Guid id, global::System.Boolean approved, global::System.DateTime requestDate, global::System.Boolean isPet)
 {
     Friendship friendship = new Friendship();
     friendship.UserRequestId = userRequestId;
     friendship.Id = id;
     friendship.Approved = approved;
     friendship.RequestDate = requestDate;
     friendship.IsPet = isPet;
     return friendship;
 }