What are the new features of ADO.NET 2.0?

The interviewer asked me what are the new features of ADO.NET 2.0?

I responded with (A) SQLConnection (B) SQL Command (C) Data Adapter, dataset and data reader.

But he said that these features were already present in ADO.NET 1.1

let me know if any inputs.

Thanks!

0
source share
3 answers

see here: http://msdn.microsoft.com/en-us/library/ex6y04yf(VS.80).aspx Probably the person was looking for Disconnected Classes

0
source
+2
source

Well, β€œhe,” as in β€œhe said,” is right, but MS certainly made them work better, faster, and with less coding effort in version 2.0.

On the one hand, DataReader can be loaded directly into a DataSet or DataTable, which simplified a lot. For me, the other biggies were adding asynchronous calls to BeginExecuteXxxx () and EndExecuteXxxx () along with allowing more than one pending connection request and direct support for reading data in page mode, without having to write a stored procedure for each place, you had a large data set that it was necessary to unload.

0
source

Source: https://habr.com/ru/post/898855/


All Articles