/// <summary>
 /// Deprecated Method for adding a new object to the FriendInvitations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFriendInvitations(FriendInvitation friendInvitation)
 {
     base.AddObject("FriendInvitations", friendInvitation);
 }
 /// <summary>
 /// Create a new FriendInvitation object.
 /// </summary>
 /// <param name="invitationID">Initial value of the InvitationID property.</param>
 /// <param name="fromID">Initial value of the FromID property.</param>
 /// <param name="toID">Initial value of the ToID property.</param>
 /// <param name="message">Initial value of the Message property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 public static FriendInvitation CreateFriendInvitation(global::System.Guid invitationID, global::System.Guid fromID, global::System.Guid toID, global::System.String message, global::System.DateTime createDate, global::System.Boolean isDeleted)
 {
     FriendInvitation friendInvitation = new FriendInvitation();
     friendInvitation.InvitationID = invitationID;
     friendInvitation.FromID = fromID;
     friendInvitation.ToID = toID;
     friendInvitation.Message = message;
     friendInvitation.CreateDate = createDate;
     friendInvitation.IsDeleted = isDeleted;
     return friendInvitation;
 }