Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Users 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="email">Initial value of the Email property.</param>
 /// <param name="lastUpdate">Initial value of the LastUpdate property.</param>
 /// <param name="passwordSolt">Initial value of the PasswordSolt property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 /// <param name="lastLoginDate">Initial value of the LastLoginDate property.</param>
 /// <param name="isActivated">Initial value of the IsActivated property.</param>
 /// <param name="isLockedOut">Initial value of the IsLockedOut property.</param>
 /// <param name="lastLockedOutDate">Initial value of the LastLockedOutDate property.</param>
 public static Users CreateUsers(global::System.Int32 id, global::System.String userName, global::System.String password, global::System.String email, global::System.DateTime lastUpdate, global::System.String passwordSolt, global::System.DateTime createdDate, global::System.DateTime lastLoginDate, global::System.Boolean isActivated, global::System.Boolean isLockedOut, global::System.DateTime lastLockedOutDate)
 {
     Users users = new Users();
     users.ID = id;
     users.UserName = userName;
     users.Password = password;
     users.Email = email;
     users.LastUpdate = lastUpdate;
     users.PasswordSolt = passwordSolt;
     users.CreatedDate = createdDate;
     users.LastLoginDate = lastLoginDate;
     users.IsActivated = isActivated;
     users.IsLockedOut = isLockedOut;
     users.LastLockedOutDate = lastLockedOutDate;
     return users;
 }