public static void DropCurso() { database db = getDataBase(); if (db.DatabaseExists() == true) { db.DeleteDatabase(); } }
private static database getDataBase() { database db = new database(); if (db.DatabaseExists() == false) { db.CreateDatabase(); } return(db); }