Example #1
0
 /// <summary>
 /// Create a new User object.
 /// </summary>
 /// <param name="token">Initial value of the Token property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static User CreateUser(global::System.String token, global::System.String name)
 {
     User user = new User();
     user.Token = token;
     user.Name = name;
     return user;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the User EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUser(User user)
 {
     base.AddObject("User", user);
 }