/// <summary> /// Deprecated Method for adding a new object to the Usuarios EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUsuarios(Usuario usuario) { base.AddObject("Usuarios", usuario); }
/// <summary> /// Create a new Usuario object. /// </summary> /// <param name="handle">Initial value of the Handle property.</param> /// <param name="nome">Initial value of the Nome property.</param> /// <param name="senha">Initial value of the Senha property.</param> public static Usuario CreateUsuario(global::System.Int32 handle, global::System.String nome, global::System.String senha) { Usuario usuario = new Usuario(); usuario.Handle = handle; usuario.Nome = nome; usuario.Senha = senha; return usuario; }