static void Main(string[] args) { //xOleDB db = new xOleDB("Provider=Microsoft.ACE.OLEDB.12.0; " + // "Data Source=../../../DBFiles/SALLY_ENTERPRISE.accdb; " + // "Persist Security Info=False"); xLocalDB db = new xLocalDB("Provider=Microsoft.ACE.OLEDB.12.0; " + "Data Source=../../../DBFiles/SALLY_ENTERPRISE.accdb; " + "Persist Security Info=False"); db.Open(); dropTables(db); createTables(db); insertRows(db); orders(db); db.Close(); }//Main
static void Main(string[] args) { xLocalDB db = new xLocalDB("Provider=Microsoft.ACE.OLEDB.12.0; " + "Data Source=../../../DBFiles/SUGANG_DB.accdb; " + "Persist Security Info=False"); //xLocalDB db = new xLocalDB(@"Data Source=(LocalDB)\MSSQLLocalDB; // AttachDbFilename=D:\1_pjkim\Backup-0\1강의\Database\DatabaseProgs\DBFiles\SUGANG_DB.mdf; // Integrated Security=True"); db.Open(); dropTables(db); createTables(db); insertRows(db); db.Close(); }//Main