C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




ADO.Net


Posted Date: 20 Mar 2008    Resource Type: Articles    Category: .NET Framework

Posted By: Nivas T       Member Level: Gold
Rating:     Points: 10



ADO.NET



The ADO.Net making interaction between application and data base, the application could be VB.Net, C#.Net, etc...and the data base could be SQL Server, oracle and etc... The ADO.Net over the ADO concept. The ADO.Net Architecture fully differ from ADO Architecture, Its based XML conversion. The data's all can be cover into XML format, its making more effect to the database operations.


Disconnected Architecture



The ADO.Net has Disconnected architecture. The process is work with copy of data and update into database at the end of the process. The connection is opened to the request and closed at the end of the request. Its keeps the connection at the limited time period. This concept provide more security to data with minimum system performance.


ADO.Net Properties and Performance



ADO.Net has two major properties, one is Dataset and another one is DataProvider

Dataset - Its fully based on disconnected architecture. Its execute with the local copy of data. Its
work with the copy of data and return data to the main database to store at the end of
dataset request.

Data Provider - Its fully executes in the connected architecture. It has maintaining connection to the
data updating process. Their is various type of provider available. It has been
used to depends the database. for e.g. SQL Data provider, OleDb Data Provider.

Each provider has several components

Connection - Its used to make connection from application to database.

Command - Its used to executes commands (e.g. SQL Queries).

Data Reader - Its used to get data from data source as read only format.

Data Adapter - Its used to executes the updating process.


Command object provides three methods

ExecuteNonQuery - Its used to executes command without return value (e.g. INSERT, UPDATE
DELETE)

ExecuteScalar - Its executes return one value from query

ExecuteReader - Its executes return a result set

Data Adapter provides four properties

These properties represents database commands

SelectCommand

InsertCommand

DeleteCommand

UpdateCommand

When the Update method is called, changes in the DataSet are copied back to the database and the appropriate InsertCommand, DeleteCommand, or UpdateCommand is executed.





Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: How to Create Executable (exe) files using Console Applications in C#
Previous Resource: Counting a Hits in ASP.NET
Return to Discussion Resource Index
Post New Resource
Category: .NET Framework


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

it support

Contact Us    Privacy Policy    Terms Of Use