예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Users EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUsers(Users users)
 {
     base.AddObject("Users", users);
 }
예제 #2
0
 /// <summary>
 /// Create a new Users object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 /// <param name="login">Initial value of the Login property.</param>
 /// <param name="password">Initial value of the Password property.</param>
 /// <param name="userName">Initial value of the UserName property.</param>
 public static Users CreateUsers(global::System.Int32 userId, global::System.DateTime created, global::System.String login, global::System.String password, global::System.String userName)
 {
     Users users = new Users();
     users.UserId = userId;
     users.Created = created;
     users.Login = login;
     users.Password = password;
     users.UserName = userName;
     return users;
 }