Пример #1
0
		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());
			}
		}
Пример #2
0
        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());
                }
            }
        }