1 / 9

ADO.NET

ADO.NET. TSU José del Angel Vargas Segoviano http://microdevcomunnity.wordpress.com / http://viviendodebits.netne.net / http://jdnistch.blogspot.com /. ADO.NET. Conjunto de Clases organizado en namespaces . Acceso a datos basado en objetos. Acceso universal a datos.

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 TSUJosé del Angel Vargas Segoviano http://microdevcomunnity.wordpress.com/ http://viviendodebits.netne.net/ http://jdnistch.blogspot.com/

  2. ADO.NET • Conjunto de Clases organizado en namespaces. • Acceso a datos basado en objetos. • Acceso universal a datos. • Útil para ambientes conectados y desconectados. • Unión de fuentes de datos con controles.

  3. Ambiente CONECTADO o DESCONECTADO?

  4. Proveedores de Datos del .Net Framework .Net Framework Data Provider IDbConnection IDbCommand IDbDataReader IDataAdapter DataSet XML BD

  5. Proveedores • .Net Framework Data Providerfor Microsoft SQL Server. • .Net Framework Data ProviderOleDb (basada en COM,basesde datos, hojas de cálculo, archivos de texto, etc.). • .Net Framework forODBC (MS-Access, dBase, DB2, Excel y Texto). • .Net Framework Data Providerfor Oracle (8.1.7).

  6. Interfaces • IDataReader. • IDataCommand. • IDbConnection. • IDbDataParameter. • IDbDataAdapter. • IDbTransaction. Interfaces?

  7. Tecnología y Técnicas de ADO.NET API Disconected Data DB DataSet XML Linq Dim q = from c In db.custumers_ wherec.City =«Londres» Select c ADO.NET Entity Framework Colección Tabla Registro Clase Campo Propiedad

  8. Conectando a Base de datos y Recuperando Infomación • Interface IDbConnection • Close, Dispose. • ConnectionString, ConnectionTimeOut. • CreateCommand. • Open. • State.

  9. Valores de la Cadena de Conexión. • Data Source. • AttachDbFile. //Sql Express • InitialCatalog / Data Base. • Persistent Security Info. • Integrated Security. • Enlist. • Asynchronousprocessing. • ConnectionRest. • MultipleActiveResultSets. • ConnectTimeOut.

More Related