Пример #1
0
        private void butReadOdbcAccess_Click(object sender, EventArgs e)
        {
            openFileDialog.ShowDialog();
            string dbName = openFileDialog.FileName;
            var    ds     = new DbSample();

            ds.ReadOdbcAccess(dbName);
        }
Пример #2
0
        private void butRunSQL_Click(object sender, EventArgs e)
        {
            var ds = new DbSample();

            ds.RunSql();
        }
Пример #3
0
        private void butUpdateLinq_Click(object sender, EventArgs e)
        {
            var ds = new DbSample();

            ds.UpdateLinq();
        }
Пример #4
0
        private void butMegaLinqToSQL_Click(object sender, EventArgs e)
        {
            var ds = new DbSample();

            ds.MegaLinqToSql();
        }
Пример #5
0
        private void butInsertSQL_Click(object sender, EventArgs e)
        {
            var ds = new DbSample();

            ds.InsertSql();
        }
Пример #6
0
        private void butUpdateDeleteAccess_Click(object sender, EventArgs e)
        {
            var ds = new DbSample();

            ds.UpdateDeleteAccess();
        }
Пример #7
0
        private void butMegaInsertAccess_Click(object sender, EventArgs e)
        {
            var ds = new DbSample();

            ds.MegaInsertAccess();
        }
Пример #8
0
        private void butRunAccess_Click(object sender, EventArgs e)
        {
            var ds = new DbSample();

            ds.RunAccess();
        }
Пример #9
0
        private void butMegaInsertCompactDirect_Click(object sender, EventArgs e)
        {
            var ds = new DbSample();

            ds.MegaInsertCompactDirect();
        }
Пример #10
0
        private void butReadCompactDirect_Click(object sender, EventArgs e)
        {
            var ds = new DbSample();

            ds.ReadCompactDirect();
        }
Пример #11
0
        private void butMegaInsertADOSQL_Click(object sender, EventArgs e)
        {
            var ds = new DbSample();

            ds.MegaInsertAdo();
        }
Пример #12
0
        private void butInsertOdbcAccess_Click(object sender, EventArgs e)
        {
            var ds = new DbSample();

            ds.InsertOdbcAccess();
        }
Пример #13
0
        private void butInsertIDAO_Click(object sender, EventArgs e)
        {
            var ds = new DbSample();

            ds.InsertInteropDao();
        }
Пример #14
0
        private void butReadLinqContext_Click(object sender, EventArgs e)
        {
            var ds = new DbSample();

            ds.ReadLinqContext();
        }