static void Main() { BLToolkit.Data.DbManager.AddDataProvider(typeof(BLToolkit.Data.DataProvider.MySqlDataProvider)); using (var db = new TestDbManager("MySql")) { var list = new GenericConcatQuery(db, new object[] { "A", 1 }).Query().ToList(); foreach (var i in list) Console.WriteLine(i.ToString()); } }
static void Main() { BLToolkit.Data.DbManager.AddDataProvider(typeof(BLToolkit.Data.DataProvider.MySqlDataProvider)); using (var db = new TestDbManager("MySql")) { var list = new GenericConcatQuery(db, new object[] { "A", 1 }).Query().ToList(); foreach (var i in list) { Console.WriteLine(i.ToString()); } } }