/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the User EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUser(User user) { base.AddObject("User", user); }