1 / 11

ADO.NET

ADO.NET. Doug Waterman Fox Valley Technical College. How do we connect?. How do we connect?. ADO.NET. Connection. Connection. .Connection String. UserName Password DataProvider. Command. Command . CommandText (SQL) . CommandType .Connection. Connection. .Connection String.

Télécharger la présentation

ADO.NET

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ADO.NET Doug Waterman Fox Valley Technical College

  2. How do we connect?

  3. How do we connect? ADO.NET

  4. Connection Connection .Connection String UserName Password DataProvider

  5. Command Command .CommandText (SQL) .CommandType .Connection Connection .Connection String UserName Password DataProvider

  6. DataAdapter D DataAdapter SelectCommand .CommandText (SQL) .CommandType .Connection Connection InsertCommand .CommandText (SQL) .CommandType .Connection Connection UpdateCommand .CommandText (SQL) .CommandType .Connection Connection DeleteCommand .CommandText (SQL) .CommandType .Connection Connection

  7. Data Layer DataSetor DataTable Data Layer Object DataAdapter IndividualData Requests Command Command

  8. DataSet In-memory cache of data retrieved from a data source May contain 0-X DataTables Also has methods for dealing with the DataTables

  9. DataTable Represents one table of in-memory data. May be stand-alone or in a DataSet. Caches current and original data. Has methods and events for dealing with the data.

  10. DataSet DataTable(0) DataTable(1) In-memory cache of data retrieved from a data source May contain 0-X DataTables Also has methods for dealing with the DataTables

  11. Data Provider Framework

More Related