Exemplo n.º 1
0
        static void validateCdrDb()
        {
            //TODO: Cdr_Db.CheckConfigConnectionString();

            if (!Cdr_Db.Exists(DateTime.Today))
            {
                Cdr_Db.Create(DateTime.Today, 3);
            }

            checkCdrDbConnection(DateTime.Today);
            Cdr_Db.CheckCdrDependancy();
        }
Exemplo n.º 2
0
        //-- Mandatory default Constructor:

        public static void CreateDb()
        {
            const int _monthsAhead = 2;

            Cdr_Db.Create(DateTime.Today, _monthsAhead);
        }