Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the FriendInfo EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFriendInfo(FriendInfo friendInfo)
 {
     base.AddObject("FriendInfo", friendInfo);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new FriendInfo object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="friendUserId">Initial value of the FriendUserId property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 public static FriendInfo CreateFriendInfo(global::System.Guid userId, global::System.Guid friendUserId, global::System.Byte status)
 {
     FriendInfo friendInfo = new FriendInfo();
     friendInfo.UserId = userId;
     friendInfo.FriendUserId = friendUserId;
     friendInfo.Status = status;
     return friendInfo;
 }