コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the FriendInfoes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFriendInfoes(FriendInfo friendInfo)
 {
     base.AddObject("FriendInfoes", friendInfo);
 }
コード例 #2
0
 /// <summary>
 /// Create a new FriendInfo object.
 /// </summary>
 /// <param name="userID">Initial value of the UserID property.</param>
 /// <param name="friendID">Initial value of the FriendID property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 public static FriendInfo CreateFriendInfo(global::System.Guid userID, global::System.Guid friendID, global::System.Byte status)
 {
     FriendInfo friendInfo = new FriendInfo();
     friendInfo.UserID = userID;
     friendInfo.FriendID = friendID;
     friendInfo.Status = status;
     return friendInfo;
 }