Exemple #1
0
        public void CreateDatabase()
        {
            var db = new ProcedureDatabase();

            FbConnection.DropDatabase(db.Connection.ConnectionString);
            db.CreateDatabase();
        }
Exemple #2
0
        public void CreateDatabase()
        {
            var db = new ProcedureDatabase();

            if (db.DatabaseExists())
            {
                db.DeleteDatabase();
            }
            db.CreateDatabase();
        }
Exemple #3
0
        public void CreateDatabase()
        {
            var db = new ProcedureDatabase()
            {
                Log = Console.Out
            };

            if (db.DatabaseExists())
            {
                db.DeleteDatabase();
            }

            db.CreateDatabase();
        }