/// <summary> /// Deprecated Method for adding a new object to the FriendInfo EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFriendInfo(FriendInfo friendInfo) { base.AddObject("FriendInfo", friendInfo); }
/// <summary> /// Create a new FriendInfo object. /// </summary> /// <param name="friendInfoID">Initial value of the FriendInfoID property.</param> /// <param name="userID1">Initial value of the UserID1 property.</param> /// <param name="userID2">Initial value of the UserID2 property.</param> /// <param name="status">Initial value of the Status property.</param> public static FriendInfo CreateFriendInfo(global::System.Guid friendInfoID, global::System.Guid userID1, global::System.Guid userID2, global::System.Int32 status) { FriendInfo friendInfo = new FriendInfo(); friendInfo.FriendInfoID = friendInfoID; friendInfo.UserID1 = userID1; friendInfo.UserID2 = userID2; friendInfo.Status = status; return friendInfo; }