示例#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();
        }