/// <summary> /// Create a new UserView object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="username">Initial value of the username property.</param> /// <param name="password">Initial value of the password property.</param> /// <param name="user_type">Initial value of the user_type property.</param> public static UserView CreateUserView(global::System.Int32 id, global::System.String username, global::System.String password, global::System.Int32 user_type) { UserView userView = new UserView(); userView.id = id; userView.username = username; userView.password = password; userView.user_type = user_type; return userView; }
/// <summary> /// Deprecated Method for adding a new object to the UserViews EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserViews(UserView userView) { base.AddObject("UserViews", userView); }