what are the fundamental objects in ADO.NET

 Posted by deccansoft on 8/5/2010 | Category: C# Interview questions | Views: 1964


The following are the core objects :

Connection------->

IDbConnection----->

Provides the ability to connect to or disconnect from datastore.

Command-------->

IDbCommand------>

Represents a sql query or Stored Procedure

Data Reader------->

IDataReader,IDataRecord---->

Provides a forward-only read only access to data using a server side Cursor.

DataAdapter------>

IDataAdapter,IDbDataAdapter--->

Transfers datasets between the caller and data store.

Parameter----------->
IDataParameter,IDbDataParameter--->

Represents a named parameter with a parameterized query.

Transaction--------->

IDbTransaction----------->

Encapsulates a Db Transaction.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response