You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
cmd.CommandText=string.Format("SELECT EmployeeID, LastName, FirstName, Title, Address, City, Region, PostalCode, Country into {0} from Employees where EmployeeID < 3",_tempTable);
adapter.SelectCommand=newSqlCommand(string.Format("SELECT EmployeeID, LastName, FirstName, Title, Address, City, Region, PostalCode, Country from {0} where EmployeeID < 3",_tempTable),conn);
@@ -639,10 +641,10 @@ public void UpdateTest()
639
641
640
642
dataSet.AcceptChanges();
641
643
}
642
-
}
643
-
finally
644
-
{
645
-
ExecuteNonQueryCommand("DROP TABLE "+_tempTable);
644
+
finally
645
+
{
646
+
ExecuteNonQueryCommand("DROP TABLE "+_tempTable);
647
+
}
646
648
}
647
649
}
648
650
@@ -656,15 +658,15 @@ public void BulkUpdateTest()
cmd.CommandText="SELECT EmployeeID, LastName, FirstName, Title, Address, City, Region, PostalCode, Country into "+_tempTable+" from Employees where EmployeeID < 3";
adapter.SelectCommand=newSqlCommand("SELECT EmployeeID, LastName, FirstName, Title, Address, City, Region, PostalCode, Country FROM "+_tempTable+" WHERE EmployeeID < 3",conn);
@@ -762,16 +764,16 @@ public void UpdateRefreshTest()
cmd.CommandText=string.Format("SELECT EmployeeID, LastName, FirstName, Title, Address, City, Region, PostalCode, Country into {0} from Employees where EmployeeID < 3",_tempTable);
adapter.SelectCommand=newSqlCommand(string.Format("SELECT EmployeeID, LastName, FirstName, Title, Address, City, Region, PostalCode, Country from {0} where EmployeeID < 3",_tempTable),conn);
998
999
adapterVerify.SelectCommand=newSqlCommand("SELECT LastName, FirstName FROM "+_tempTable+" where FirstName='"+MagicName+"'",conn);
999
1000
@@ -1041,10 +1042,10 @@ public void AutoGenUpdateTest()
cmd.CommandText="SELECT EmployeeID, LastName, FirstName, Title, Address, City, Region, PostalCode, Country into "+_tempTable+" from Employees where EmployeeID < 3";
adapter.SelectCommand=newSqlCommand("SELECT EmployeeID, LastName, FirstName, Title, Address, City, Region, PostalCode, Country FROM "+_tempTable+" WHERE EmployeeID < 3",conn);
1114
1114
adapterVerify.SelectCommand=newSqlCommand("SELECT LastName, FirstName FROM "+_tempTable+" where FirstName='"+MagicName+"'",conn);
0 commit comments