示例#1
0
 /// <summary>
 /// Create a new Friends object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="username">Initial value of the Username property.</param>
 /// <param name="username_Friend">Initial value of the Username_Friend property.</param>
 public static Friends CreateFriends(global::System.Int32 id, global::System.String username, global::System.String username_Friend)
 {
     Friends friends = new Friends();
     friends.Id = id;
     friends.Username = username;
     friends.Username_Friend = username_Friend;
     return friends;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the FriendsSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFriendsSet(Friends friends)
 {
     base.AddObject("FriendsSet", friends);
 }