/// <summary> /// Create a new FriendSuggestionIgnore object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="sourceUserId">Initial value of the SourceUserId property.</param> /// <param name="ignoreUserId">Initial value of the IgnoreUserId property.</param> public static FriendSuggestionIgnore CreateFriendSuggestionIgnore(global::System.Int32 id, global::System.Int32 sourceUserId, global::System.Int32 ignoreUserId) { FriendSuggestionIgnore friendSuggestionIgnore = new FriendSuggestionIgnore(); friendSuggestionIgnore.Id = id; friendSuggestionIgnore.SourceUserId = sourceUserId; friendSuggestionIgnore.IgnoreUserId = ignoreUserId; return friendSuggestionIgnore; }
/// <summary> /// Deprecated Method for adding a new object to the FriendSuggestionIgnores EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFriendSuggestionIgnores(FriendSuggestionIgnore friendSuggestionIgnore) { base.AddObject("FriendSuggestionIgnores", friendSuggestionIgnore); }