コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the FriendSuggestionIgnores EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFriendSuggestionIgnores(FriendSuggestionIgnore friendSuggestionIgnore)
 {
     base.AddObject("FriendSuggestionIgnores", friendSuggestionIgnore);
 }