Beispiel #1
0
        static DB()
        {
            if (ConfigurationManager.ConnectionStrings.Count == 0)
            {
                throw new MissingConnectionStringException();
            }

            db = new unQueryDB(ConfigurationManager.ConnectionStrings[0].ConnectionString);
        }
Beispiel #2
0
 internal BatchExecutor(unQueryDB db)
 {
     this.db       = db;
     this.commands = new List <SqlCommand>();
 }