Esempio n. 1
0
		public void InsertOrReplaceTest([Values(
			ProviderName.SqlServer, ProviderName.Access, ProviderName.DB2, ProviderName.Firebird, 
			ProviderName.Informix, ProviderName.MySql, ProviderName.Oracle, ProviderName.PostgreSQL,
			ProviderName.SqlCe, ProviderName.SQLite, ProviderName.Sybase)] string configString)
		{
			using (var db = new DataConnection(configString))
			{
				db.InsertOrReplace(
					new TestTable3
					{
						ID   = 5,
						Name = "Crazy Frog",
					});
			}
		}