Ejemplo n.º 1
0
        public void testeSQLite(string Comand)
        {
            IBanco SQLiteBanco;

            try
            {
                SQLiteBanco = new FacBanco().CriarBanco("SQLite");
                foreach (AtivModel item in MontaRetornoSQLite(SQLiteBanco.ExecutaSelect(Comand)))
                {
                    Console.WriteLine(item.CodAtiv);
                    Console.WriteLine(item.Descricao);
                }
            }
            catch (Exception)
            {
                throw;
            }
        }
Ejemplo n.º 2
0
 public RepoCliente()
 {
     FBanco = new FacBanco();
     Dados  = FBanco.GerarBanco("SQLserver");
 }