static public DataTable Listar(string nome, string tabela)
 {
     if (nome == null)
     {
         return(RepositorioAccess.SelectItem(tabela));
     }
     else
     {
         return(RepositorioAccess.SelectItem(nome, tabela));
     }
 }
        static public void Alterar(Item item)
        {
            switch ((int)item.Tipo()) // pega o tipo de entidade que o metodo recebe
            {
            case 0:
                RepositorioAccess.UpdateItem(item as Estoque);
                break;

            case 1:
                break;
                //default:
                //    throw new Exception("Bussines.CRUD Entidade com tipação invalida")  ;
                //    break;
            }
        }
 static public void Deletar(int id, string tabela)
 {
     RepositorioAccess.DeletItem(id, tabela);
 }