Esempio n. 1
0
        static void Main(string[] args)
        {
            SeedsNoBD.FazSeedSQLite();

            ConfiguraQuartz();

            while (true)
            {
                System.Threading.Thread.Sleep(100);
            }
        }
Esempio n. 2
0
        public void testa_seed_sqlite()
        {
            SeedsNoBD.FazSeedSQLite();

            using (var db = new GeradorInstaladoresContext())
            {
                int definicoes = (from c in db.DefinicoesGerais
                                  select c).Count();

                Assert.IsTrue(definicoes > 0);
            }
        }