DbDataAdapter ClassNReco.Data Class Library Documentation
Data adapter between database and application data models. Implements select, insert, update and delete operations.
Inheritance Hierarchy

System Object
  NReco.Data DbDataAdapter

Namespace: NReco.Data
Assembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
Syntax

public class DbDataAdapter : IRecordSetAdapter, 
	IDisposable

The DbDataAdapter type exposes the following members.

Constructors

  NameDescription
Public methodDbDataAdapter
Initializes a new instance of the DbDataAdapter.
Top
Methods

  NameDescription
Public methodDelete(Object)
Executes DELETE statement generated by annotated POCO model.
Public methodDelete(Query)
Executes DELETE statement generated by specified Query.
Public methodDeleteAsync(Object)
Asynchronously executes DELETE statement generated by annotated POCO model.
Public methodDeleteAsync(Query)
Asynchronously executes DELETE statement generated by specified Query.
Public methodDeleteAsync(Query, CancellationToken)
Asynchronously executes DELETE statement generated by specified Query.
Public methodDispose 
Releases all resources used by the DbDataAdapter
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the DbDataAdapter and optionally releases the managed resources
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsert(Object)
Executes INSERT statement generated by annotated POCO model.
Public methodInsert(String, IDictionary String, Object )
Executes INSERT statement generated by specified table name and dictionary values.
Public methodInsert(String, Object)
Executes INSERT statement generated by specified table name and annotated POCO model.
Public methodInsertAsync(Object)
Asynchronously executes INSERT statement generated by annotated POCO model.
Public methodInsertAsync(String, IDictionary String, Object )
Asynchronously executes INSERT statement generated by specified table name and dictionary values.
Public methodInsertAsync(String, Object)
Asynchronously executes INSERT statement generated by specified table name and POCO model.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSelect(IDbCommand)
Public methodSelect(Query)
Returns prepared select query.
Public methodSelect(String,  Object )
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate(Object)
Executes UPDATE statement generated by annotated POCO model.
Public methodUpdate(String, RecordSet)
Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the specified RecordSet.
Public methodUpdate(Query, IDictionary String, Object )
Executes UPDATE statement generated by specified Query and dictionary values.
Public methodUpdate(Query, Object)
Executes UPDATE statement generated by specified Query and POCO model.
Public methodUpdateAsync(Object)
Asynchronously executes UPDATE statement generated by annotated POCO model.
Public methodUpdateAsync(String, RecordSet)
An asynchronous version of Update(String, RecordSet) that calls the respective INSERT, UPDATE, or DELETE statements for each added, updated, or deleted row in the specified RecordSet.
Public methodUpdateAsync(Query, IDictionary String, Object )
Asynchronously executes UPDATE statement generated by specified Query and dictionary values.
Public methodUpdateAsync(Query, Object)
Asynchronously executes UPDATE statement generated by specified Query and POCO model.
Public methodUpdateAsync(String, RecordSet, CancellationToken)
An asynchronous version of Update(String, RecordSet) that calls the respective INSERT, UPDATE, or DELETE statements for each added, updated, or deleted row in the specified RecordSet.
Top
Properties

  NameDescription
Public propertyApplyOffset
Gets or sets flag that determines whether query record offset is applied during reading query results.
Public propertyCommandBuilder
Gets IDbCommandBuilder associated with this data adapter.
Public propertyConnection
Gets IDbConnection associated with this data adapter.
Public propertyTransaction
Gets or sets IDbTransaction initiated for the Connection.
Top
See Also