Ejemplo n.º 1
0
        /// <summary>
        /// Create a new tb_usuario object.
        /// </summary>
        /// <param name="iDUsuario">Initial value of the IDUsuario property.</param>
        /// <param name="usuario">Initial value of the Usuario 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>
        public static tb_usuario Createtb_usuario(global::System.Int32 iDUsuario, global::System.String usuario, global::System.String nome, global::System.String email, global::System.String senha)
        {
            tb_usuario tb_usuario = new tb_usuario();

            tb_usuario.IDUsuario = iDUsuario;
            tb_usuario.Usuario   = usuario;
            tb_usuario.Nome      = nome;
            tb_usuario.Email     = email;
            tb_usuario.Senha     = senha;
            return(tb_usuario);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tb_usuario EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotb_usuario(tb_usuario tb_usuario)
 {
     base.AddObject("tb_usuario", tb_usuario);
 }