/// <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(User user)
 {
     base.AddObject("Users", user);
 }
 /// <summary>
 /// Create a new User object.
 /// </summary>
 /// <param name="iDUser">Initial value of the IDUser property.</param>
 /// <param name="login">Initial value of the Login property.</param>
 /// <param name="password">Initial value of the Password property.</param>
 /// <param name="dataCriacao">Initial value of the DataCriacao property.</param>
 /// <param name="ultimoLogin">Initial value of the UltimoLogin property.</param>
 /// <param name="nome">Initial value of the Nome property.</param>
 /// <param name="contacto">Initial value of the Contacto property.</param>
 /// <param name="dataNascimento">Initial value of the DataNascimento property.</param>
 /// <param name="iDUserCreator">Initial value of the IDUserCreator property.</param>
 public static User CreateUser(global::System.Int32 iDUser, global::System.String login, global::System.String password, global::System.DateTime dataCriacao, global::System.DateTime ultimoLogin, global::System.String nome, global::System.String contacto, global::System.DateTime dataNascimento, global::System.Int32 iDUserCreator)
 {
     User user = new User();
     user.IDUser = iDUser;
     user.Login = login;
     user.Password = password;
     user.DataCriacao = dataCriacao;
     user.UltimoLogin = ultimoLogin;
     user.Nome = nome;
     user.Contacto = contacto;
     user.DataNascimento = dataNascimento;
     user.IDUserCreator = iDUserCreator;
     return user;
 }