예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Usuario EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUsuario(Usuario usuario)
 {
     base.AddObject("Usuario", usuario);
 }
예제 #2
0
 /// <summary>
 /// Create a new Usuario object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="nome">Initial value of the nome property.</param>
 /// <param name="email">Initial value of the Email property.</param>
 /// <param name="senha">Initial value of the Senha property.</param>
 /// <param name="deletado">Initial value of the Deletado property.</param>
 public static Usuario CreateUsuario(global::System.Int32 id, global::System.String nome, global::System.String email, global::System.String senha, global::System.Boolean deletado)
 {
     Usuario usuario = new Usuario();
     usuario.ID = id;
     usuario.nome = nome;
     usuario.Email = email;
     usuario.Senha = senha;
     usuario.Deletado = deletado;
     return usuario;
 }