DataAccessAdapterBase Class |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The DataAccessAdapterBase type exposes the following members.
Name | Description | |
---|---|---|
DataAccessAdapterBase |
CTor
|
Name | Description | |
---|---|---|
ActiveRecoveryStrategy |
Gets or sets the active recovery strategy to use with supported actions on this DataAccessAdapter. If null (default), no
recovery strategy is used and all exceptions are fatal.
(Inherited from DataAccessAdapterCore.) | |
CatalogNameOverwrites |
The from-to name value pairs and setting for the overwriting of catalog names.
(Inherited from DataAccessAdapterCore.) | |
CatalogNameToUse |
The name to use if catalogNameUsageSetting is set to ForceName. Ignored otherwise.
(Inherited from DataAccessAdapterCore.) | |
CatalogNameUsageSetting |
Configurates this data access adapter object how to threat catalog names in persistence information.
(Inherited from DataAccessAdapterCore.) | |
CommandTimeOut |
Gets / sets the timeout value to use with the command object(s) created by the adapter.
Default is 30 seconds
Set this prior to calling a method which executes database logic.
(Inherited from DataAccessAdapterCore.) | |
ConnectionString |
Gets / sets the connection string to use for the connection with the database.
(Inherited from DataAccessAdapterCore.) | |
FunctionMappings |
Gets the function mappings for the DQE related to this DataAccessAdapter. These function mappings are static and therefore not changeable.
(Inherited from DataAccessAdapterCore.) | |
InSystemTransaction |
Gets a value indicating whether a System.Transactions transaction is going on. If not, false is returned.
(Inherited from DataAccessAdapterCore.) | |
IsTransactionInProgress |
Gets IsTransactionInProgress. True when there is a transaction in progress.
(Inherited from DataAccessAdapterCore.) | |
KeepConnectionOpen |
Gets / sets KeepConnectionOpen, a flag used to keep open connections after a database action has finished.
(Inherited from DataAccessAdapterCore.) | |
KeepTrackOfTransactionParticipants |
The flag (default true) is used to signal the adapter that entities participating in a transaction controlled by this adapter are tracked during the transaction
and which values are rolled back after a rollback of the transaction itself. Only set this flag to false if the entities participating in a transaction
are not kept in memory during or after the transaction's life time.
(Inherited from DataAccessAdapterCore.) | |
ParameterisedPrefetchPathThreshold |
Gets or sets the parameterised prefetch path threshold. This threshold is used to determine when the prefetch path logic should switch to a
subquery or when it should use a WHERE field IN (value1, value2, ... valueN) construct, based on the # of elements in the parent collection.
If that # of elements exceeds this threshold, a subquery is constructed, otherwise field IN (value1, value2, ...) construct is used.
The default value is 50. On average, this is faster than using a subquery which returns 50 elements. Use this to tune prefetch path fetch logic
for your particular needs.
(Inherited from DataAccessAdapterCore.)This threshold is also used to determine if paging is possible. A page size bigger than this threshold will disable the paging functionality when using paging + prefetch paths. | |
PhysicalTransaction |
The physical transaction object used over the current ActiveConnection.
(Inherited from DataAccessAdapterCore.) | |
SchemaNameOverwrites |
The from-to name value pairs and setting for the overwriting of schema names.
(Inherited from DataAccessAdapterCore.) | |
TransactionIsolationLevel |
Gets / sets the isolation level a transaction should use.
Setting this during a transaction in progress has no effect on the current running transaction.
(Inherited from DataAccessAdapterCore.) | |
TransactionName |
Gets the name of the transaction. Setting this during a transaction in progress has no effect on the current running transaction.
(Inherited from DataAccessAdapterCore.) |
Name | Description | |
---|---|---|
CallActionStoredProcedure |
Calls the specified action stored procedure in the database. If a transaction is in progress, it will participate in that transaction.
(Inherited from DataAccessAdapterCore.) | |
CallActionStoredProcedureAsync |
Async variant of CallActionStoredProcedure(String, DbParameter)
Calls the specified action stored procedure in the database. If a transaction is in progress, it will participate in that transaction.
(Inherited from DataAccessAdapterCore.) | |
CallRetrievalStoredProcedure(String, DbParameter, DataSet) |
Calls the specified retrieval stored procedure in the database. Fills the
specified DataSet. Will participate in the transaction if a transaction is in progress.
(Inherited from DataAccessAdapterCore.) | |
CallRetrievalStoredProcedure(String, DbParameter, DataTable) |
Calls the specified retrieval stored procedure in the database. Fills the specified datatable. Will participate in the transaction if a
transaction is in progress. (Inherited from DataAccessAdapterCore.) | |
CloseConnection |
Closes the active connection. If no connection is available or the connection is closed, nothing is done.
If there is a transaction in progress, it's rolled back.
(Inherited from DataAccessAdapterCore.) | |
Commit |
Commits the transaction in action. It will end all database activity, since commiting a transaction is finalizing it. After
calling Commit or Rollback, the ITransaction implementing class will reset itself. Will close the connection.
If in a COM+ transaction: it will flag the context to commit. It will NOT set the done bit.
(Inherited from DataAccessAdapterCore.) | |
CreateConnection |
Creates a new connection object using the current connection string value
(Inherited from DataAccessAdapterCore.) | |
CreateCorrectStoredProcedureName |
Creates the correct stored procedure name, i.e. with catalog / schema name replaced properly.
(Inherited from DataAccessAdapterCore.) | |
CreateDeleteDQ(IFieldPersistenceInfo, ListIPredicate) |
Creates a new Delete Query object which is ready to use.
(Inherited from DataAccessAdapterCore.) | |
CreateDeleteDQ(IFieldPersistenceInfo, ListIPredicate, IPredicate, IRelationCollection) |
Creates a new Delete Query object which is ready to use.
(Inherited from DataAccessAdapterCore.) | |
CreateDynamicQueryEngine |
Creates a new Dynamic Query engine object
(Inherited from DataAccessAdapterCore.) | |
CreateInsertDQ |
Creates a new insert DQ for the entity passed in.
(Inherited from DataAccessAdapterCore.) | |
CreateNewPhysicalConnection |
Creates a new physical connection object.
(Inherited from DataAccessAdapterCore.) | |
CreateNewPhysicalDataAdapter |
Creates a new .NET DataAdapter for the database system this DataAccessAdapter object is targeting.
(Inherited from DataAccessAdapterCore.) | |
CreateNewPhysicalTransaction |
Creates a new physical transaction object over the created connection. The connection is assumed to be open.
(Inherited from DataAccessAdapterCore.) | |
CreatePrimaryKeyFilter |
Creates a new predicate expression which filters on the primary key fields and the set values for the
given primary key fields. If no primary key fields are specified, null is returned.
(Inherited from DataAccessAdapterCore.) | |
CreatePrimaryKeyFilters |
Creates for each entity which PK field(s) are in the passed in arraylist a new predicate expression which filters on the
primary key fields of that entity and the set values for the
given primary key fields. If no primary key fields are specified, null is returned.
(Inherited from DataAccessAdapterCore.) | |
CreateRecoveryStrategyToUse |
Creates the recovery strategy object to use. By default it returns null, which means no strategy is used. This method is only called
if the property ActiveRecoveryStrategy is set to null.
When a valid RecoveryStrategy instance is returned, it's stored in the ActiveRecoveryStrategy property and this method isn't called again
until that property is set to null. Do not share recovery strategy instances among threads nor among DataAccessAdapter instances.
| |
CreateRowCountDQ |
Creates a new RowCount DQ for the query build with the elements passed in
(Inherited from DataAccessAdapterCore.) | |
CreateSelectDQ |
Creates a new Select DQ for the fields passed in using the parameters specified.
(Inherited from DataAccessAdapterCore.) | |
CreateStoredProcedureCallCommand |
Creates the stored procedure call command for the stored proc specified.
(Inherited from DataAccessAdapterCore.) | |
CreateUpdateDQ(IEntity2, IFieldPersistenceInfo, ListIPredicate) |
Creates a new Update DQ for the entity passed in.
(Inherited from DataAccessAdapterCore.) | |
CreateUpdateDQ(IEntity2, IFieldPersistenceInfo, ListIPredicate, IPredicateExpression, IRelationCollection) |
Creates a new Update DQ for the entity passed in.
(Inherited from DataAccessAdapterCore.) | |
DeleteEntitiesDirectly(String, IRelationPredicateBucket) |
Deletes all entities of the name passed in as entityName (e.g. "CustomerEntity") from the persistent storage if they match the filter
supplied in filterBucket.
(Overrides DataAccessAdapterCoreDeleteEntitiesDirectly(String, IRelationPredicateBucket).) | |
DeleteEntitiesDirectly(Type, IRelationPredicateBucket) |
Deletes all entities of the name passed in as entityName (e.g. "CustomerEntity") from the persistent storage if they match the filter
supplied in filterBucket.
(Overrides DataAccessAdapterCoreDeleteEntitiesDirectly(Type, IRelationPredicateBucket).) | |
DeleteEntitiesDirectlyAsync(String, IRelationPredicateBucket) |
Async variant of DeleteEntitiesDirectly(String, IRelationPredicateBucket).
Deletes all entities of the name passed in as entityName (e.g. "CustomerEntity") from the persistent storage if they match the filter
supplied in filterBucket.
(Inherited from DataAccessAdapterCore.) | |
DeleteEntitiesDirectlyAsync(Type, IRelationPredicateBucket) |
Async variant of DeleteEntitiesDirectly(Type, IRelationPredicateBucket).
Deletes all entities of the type passed in from the persistent storage if they match the filter
supplied in filterBucket.
(Inherited from DataAccessAdapterCore.) | |
DeleteEntitiesDirectlyAsync(String, IRelationPredicateBucket, CancellationToken) |
Async variant of DeleteEntitiesDirectly(String, IRelationPredicateBucket).
Deletes all entities of the name passed in as entityName (e.g. "CustomerEntity") from the persistent storage if they match the filter
supplied in filterBucket.
(Overrides DataAccessAdapterCoreDeleteEntitiesDirectlyAsync(String, IRelationPredicateBucket, CancellationToken).) | |
DeleteEntitiesDirectlyAsync(Type, IRelationPredicateBucket, CancellationToken) |
Async variant of DeleteEntitiesDirectly(Type, IRelationPredicateBucket).
Deletes all entities of the type passed in from the persistent storage if they match the filter
supplied in filterBucket.
(Overrides DataAccessAdapterCoreDeleteEntitiesDirectlyAsync(Type, IRelationPredicateBucket, CancellationToken).) | |
DeleteEntity(IEntity2) |
Deletes the specified entity from the persistent storage. The entity is not usable after this call, the state is set to OutOfSync.
Will use the current transaction if a transaction is in progress.
If the passed in entity has a concurrency predicate factory object, the returned predicate expression is used to restrict the delete process.
(Inherited from DataAccessAdapterCore.) | |
DeleteEntity(IEntity2, IPredicateExpression) |
Deletes the specified entity from the persistent storage. The entity is not usable after this call, the state is set to
OutOfSync.
Will use the current transaction if a transaction is in progress.
(Overrides DataAccessAdapterCoreDeleteEntity(IEntity2, IPredicateExpression).) | |
DeleteEntityAsync(IEntity2) |
Async variant of DeleteEntity(IEntity2).
Deletes the specified entity from the persistent storage. The entity is not usable after this call, the state is set to OutOfSync.
Will use the current transaction if a transaction is in progress.
If the passed in entity has a concurrency predicate factory object, the returned predicate expression is used to restrict the delete process.
(Inherited from DataAccessAdapterCore.) | |
DeleteEntityAsync(IEntity2, IPredicateExpression) |
Async variant of DeleteEntity(IEntity2, IPredicateExpression).
Deletes the specified entity from the persistent storage. The entity is not usable after this call, the state is set to
OutOfSync.
Will use the current transaction if a transaction is in progress.
(Inherited from DataAccessAdapterCore.) | |
DeleteEntityAsync(IEntity2, CancellationToken) |
Async variant of DeleteEntity(IEntity2).
Deletes the specified entity from the persistent storage. The entity is not usable after this call, the state is set to OutOfSync.
Will use the current transaction if a transaction is in progress.
If the passed in entity has a concurrency predicate factory object, the returned predicate expression is used to restrict the delete process.
(Inherited from DataAccessAdapterCore.) | |
DeleteEntityAsync(IEntity2, IPredicateExpression, CancellationToken) |
Async variant of DeleteEntity(IEntity2, IPredicateExpression).
Deletes the specified entity from the persistent storage. The entity is not usable after this call, the state is set to
OutOfSync.
Will use the current transaction if a transaction is in progress.
(Overrides DataAccessAdapterCoreDeleteEntityAsync(IEntity2, IPredicateExpression, CancellationToken).) | |
DeleteEntityCollection |
Deletes all dirty objects inside the collection passed from the persistent storage. It will do this inside a transaction if a transaction
is not yet available. Entities which are physically deleted from the persistent storage are marked with the state 'Deleted' but are not
removed from the collection.
(Overrides DataAccessAdapterCoreDeleteEntityCollection(IEntityCollection2).) | |
DeleteEntityCollectionAsync(IEntityCollection2) |
Async variant of DeleteEntityCollection(IEntityCollection2).
Deletes all dirty objects inside the collection passed from the persistent storage. It will do this inside a transaction if a transaction
is not yet available. Entities which are physically deleted from the persistent storage are marked with the state 'Deleted' but are not
removed from the collection.
(Inherited from DataAccessAdapterCore.) | |
DeleteEntityCollectionAsync(IEntityCollection2, CancellationToken) |
Async variant of DeleteEntityCollection(IEntityCollection2).
Deletes all dirty objects inside the collection passed from the persistent storage. It will do this inside a transaction if a transaction
is not yet available. Entities which are physically deleted from the persistent storage are marked with the state 'Deleted' but are not
removed from the collection.
(Overrides DataAccessAdapterCoreDeleteEntityCollectionAsync(IEntityCollection2, CancellationToken).) | |
Dispose |
Implements the IDispose' method Dispose.
(Inherited from DataAccessAdapterCore.) | |
Dispose(Boolean) |
Implements the Dispose functionality. If a transaction is in progress, it will rollback that transaction.
(Inherited from DataAccessAdapterCore.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExecuteActionQuery |
Executes the passed in action query and, if not null, runs it inside the passed in transaction.
(Inherited from DataAccessAdapterCore.) | |
ExecuteActionQueryAsync |
Async variant of ExecuteActionQuery(IActionQuery)
Executes the passed in action query and, if not null, runs it inside the passed in transaction.
(Inherited from DataAccessAdapterCore.) | |
ExecuteMultiRowDataTableRetrievalQuery(IRetrievalQuery, DbDataAdapter, IFieldPersistenceInfo) |
Executes the passed in retrieval query and returns the results as a datatable using the passed in data-adapter.
It sets the connection object of the command object of query object passed in to the connection object of this class.
(Inherited from DataAccessAdapterCore.) | |
ExecuteMultiRowDataTableRetrievalQuery(IRetrievalQuery, DbDataAdapter, DataTable, IFieldPersistenceInfo) |
Executes the passed in retrieval query and returns the results in thedatatable specified using the passed in data-adapter.
It sets the connection object of the command object of query object passed in to the connection object of this class.
(Inherited from DataAccessAdapterCore.) | |
ExecuteMultiRowDataTableRetrievalQueryAsync |
Async variant of ExecuteMultiRowDataTableRetrievalQuery(IRetrievalQuery, DbDataAdapter, DataTable, IFieldPersistenceInfo).
Executes the passed in retrieval query and returns the results in thedatatable specified using the passed in data-adapter.
It sets the connection object of the command object of query object passed in to the connection object of this class.
(Inherited from DataAccessAdapterCore.) | |
ExecuteMultiRowRetrievalQuery |
Executes the passed in retrieval query and, if not null, runs it inside the passed in transaction. Used to read 1 or more rows.
It sets the connection object of the command object of query object passed in to the connection object of this class.
(Inherited from DataAccessAdapterCore.) | |
ExecuteMultiRowRetrievalQueryAsync |
Async variant of ExecuteMultiRowRetrievalQuery(IRetrievalQuery, IEntityFactory2, IEntityCollection2, IFieldPersistenceInfo, Boolean, IEntityFields2).
Executes the passed in retrieval query and, if not null, runs it inside the passed in transaction. Used to read 1 or more rows.
It sets the connection object of the command object of query object passed in to the connection object of this class.
(Inherited from DataAccessAdapterCore.) | |
ExecuteScalarQuery |
Executes the passed in query as a scalar query and returns the value returned from this scalar execution.
(Inherited from DataAccessAdapterCore.) | |
ExecuteScalarQueryAsync |
Async variant of ExecuteScalarQuery(IRetrievalQuery).
Executes the passed in query as a scalar query and returns the value returned from this scalar execution.
(Inherited from DataAccessAdapterCore.) | |
ExecuteSingleRowRetrievalQuery |
Executes the passed in retrieval query and, if not null, runs it inside the passed in transaction. Used to read 1 row.
It sets the connection object of the command object of query object passed in to the connection object of this class.
(Inherited from DataAccessAdapterCore.) | |
ExecuteSQL |
Executes the specified plain SQL query using this adapter. Every parameter value is converted into one or more parameters which have to
be pre-defined in the sqlQuery
(Overrides DataAccessAdapterCoreExecuteSQL(String, Object).) | |
ExecuteSQLAsync(String, Object) |
Async variant of ExecuteSQL(String, Object)
Executes the specified plain SQL query using this adapter. Every parameter value is converted into one or more parameters which have to
be pre-defined in the sqlQuery
(Inherited from DataAccessAdapterCore.) | |
ExecuteSQLAsync(CancellationToken, String, Object) |
Async variant of ExecuteSQL(String, Object)
Executes the specified plain SQL query using this adapter. Every parameter value is converted into one or more parameters which have to
be pre-defined in the sqlQuery
(Overrides DataAccessAdapterCoreExecuteSQLAsync(CancellationToken, String, Object).) | |
FetchDataReader(CommandBehavior, QueryParameters) |
Creates a new Retrieval query from the elements passed in and executes that retrievalquery to return an open, ready to use IDataReader.
The datareader's command behavior is set to the readerBehavior passed in. If a transaction is in progress, the command is wired to the transaction.
(Inherited from DataAccessAdapterCore.) | |
FetchDataReader(IRetrievalQuery, CommandBehavior) |
Executes the passed in retrievalquery and returns an open, ready to use IDataReader. The datareader's command behavior is set to the
readerBehavior passed in. If a transaction is in progress, the command is wired to the transaction.
(Inherited from DataAccessAdapterCore.) | |
FetchDataReader(IEntityFields2, IRelationPredicateBucket, CommandBehavior, Int32, Boolean) |
Creates a new Retrieval query from the elements passed in and executes that retrievalquery to return an open, ready to use IDataReader.
The datareader's command behavior is set to the readerBehavior passed in. If a transaction is in progress, the command is wired to the transaction.
(Inherited from DataAccessAdapterCore.) | |
FetchDataReader(IEntityFields2, IRelationPredicateBucket, CommandBehavior, Int32, ISortExpression, Boolean) |
Creates a new Retrieval query from the elements passed in and executes that retrievalquery to return an open, ready to use IDataReader.
The datareader's command behavior is set to the readerBehavior passed in. If a transaction is in progress, the command is wired to the transaction.
(Inherited from DataAccessAdapterCore.) | |
FetchDataReader(IEntityFields2, IRelationPredicateBucket, CommandBehavior, Int32, ISortExpression, Boolean, Int32, Int32) |
Creates a new Retrieval query from the elements passed in and executes that retrievalquery to return an open, ready to use IDataReader.
The datareader's command behavior is set to the readerBehavior passed in. If a transaction is in progress, the command is wired to the transaction.
(Inherited from DataAccessAdapterCore.) | |
FetchDataReader(IEntityFields2, IRelationPredicateBucket, CommandBehavior, Int32, ISortExpression, IGroupByCollection, Boolean, Int32, Int32) |
Creates a new Retrieval query from the elements passed in and executes that retrievalquery to return an open, ready to use IDataReader.
The datareader's command behavior is set to the readerBehavior passed in. If a transaction is in progress, the command is wired to the transaction.
(Inherited from DataAccessAdapterCore.) | |
FetchDataReaderAsync(CommandBehavior, QueryParameters, CancellationToken) |
Async variant of FetchDataReader(CommandBehavior, QueryParameters).
Creates a new Retrieval query from the elements passed in and executes that retrievalquery to return an open, ready to use IDataReader.
The datareader's command behavior is set to the readerBehavior passed in. If a transaction is in progress, the command is wired to the transaction.
(Inherited from DataAccessAdapterCore.) | |
FetchDataReaderAsync(IRetrievalQuery, CommandBehavior, CancellationToken) |
Async variant of FetchDataReader(IRetrievalQuery, CommandBehavior).
Executes the passed in retrievalquery and returns an open, ready to use IDataReader. The datareader's command behavior is set to the
readerBehavior passed in. If a transaction is in progress, the command is wired to the transaction.
(Inherited from DataAccessAdapterCore.) | |
FetchEntity(IEntity2) |
Fetches an entity from the persistent storage into the passed in Entity2 object using a primary key filter. The primary key fields of
the entity passed in have to have the primary key values. (Example: CustomerID has to have a value, when you want to fetch a CustomerEntity
from the persistent storage into the passed in object)
(Inherited from DataAccessAdapterCore.) | |
FetchEntity(IEntity2, Context) |
Fetches an entity from the persistent storage into the passed in Entity2 object using a primary key filter. The primary key fields of
the entity passed in have to have the primary key values. (Example: CustomerID has to have a value, when you want to fetch a CustomerEntity
from the persistent storage into the passed in object)
(Inherited from DataAccessAdapterCore.) | |
FetchEntity(IEntity2, IPrefetchPath2) |
Fetches an entity from the persistent storage into the passed in Entity2 object using a primary key filter. The primary key fields of
the entity passed in have to have the primary key values. (Example: CustomerID has to have a value, when you want to fetch a CustomerEntity
from the persistent storage into the passed in object)
(Inherited from DataAccessAdapterCore.) | |
FetchEntity(IEntity2, IPrefetchPath2, Context) |
Fetches an entity from the persistent storage into the passed in Entity2 object using a primary key filter. The primary key fields of
the entity passed in have to have the primary key values. (Example: CustomerID has to have a value, when you want to fetch a CustomerEntity
from the persistent storage into the passed in object)
(Inherited from DataAccessAdapterCore.) | |
FetchEntity(IEntity2, IPrefetchPath2, Context, ExcludeIncludeFieldsList) |
Fetches an entity from the persistent storage into the passed in Entity2 object using a primary key filter. The primary key fields of
the entity passed in have to have the primary key values. (Example: CustomerID has to have a value, when you want to fetch a CustomerEntity
from the persistent storage into the passed in object).
(Overrides DataAccessAdapterCoreFetchEntity(IEntity2, IPrefetchPath2, Context, ExcludeIncludeFieldsList).) | |
FetchEntityCollection(QueryParameters) |
Fetches one or more entities which match the filter information in the parameters into the EntityCollection passed.
The entity collection object has to contain an entity factory object which will be the factory for the entity instances
to be fetched.
It will apply paging and it will from there use a prefetch path fetch using the read page. It's important that pageSize
is smaller than the set 'ParameterisedPrefetchPathThreshold'. If pagesize is larger than the limits set for
the 'ParameterisedPrefetchPathThreshold' value, the query is likely to be slower than expected, though will work.
If pageNumber / pageSize are set to values which disable paging, a normal prefetch path fetch will be performed.
(Overrides DataAccessAdapterCoreFetchEntityCollection(QueryParameters).) | |
FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket) |
Fetches one or more entities which match the filter information in the filterBucket into the EntityCollection passed.
The entity collection object has to contain an entity factory object which will be the factory for the entity instances
to be fetched.
This overload returns all found entities and doesn't apply sorting
(Inherited from DataAccessAdapterCore.) | |
FetchEntityCollection(IEntityCollection2, ExcludeIncludeFieldsList, IRelationPredicateBucket) |
Fetches one or more entities which match the filter information in the filterBucket into the EntityCollection passed.
The entity collection object has to contain an entity factory object which will be the factory for the entity instances
to be fetched.
This overload returns all found entities and doesn't apply sorting
(Inherited from DataAccessAdapterCore.) | |
FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, IPrefetchPath2) |
Fetches one or more entities which match the filter information in the filterBucket into the EntityCollection passed.
The entity collection object has to contain an entity factory object which will be the factory for the entity instances
to be fetched.
This overload returns all found entities and doesn't apply sorting
(Inherited from DataAccessAdapterCore.) | |
FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32) |
Fetches one or more entities which match the filter information in the filterBucket into the EntityCollection passed.
The entity collection object has to contain an entity factory object which will be the factory for the entity instances
to be fetched.
This overload doesn't apply sorting
(Inherited from DataAccessAdapterCore.) | |
FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression) |
Fetches one or more entities which match the filter information in the filterBucket into the EntityCollection passed.
The entity collection object has to contain an entity factory object which will be the factory for the entity instances
to be fetched.
(Inherited from DataAccessAdapterCore.) | |
FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression, IPrefetchPath2) |
Fetches one or more entities which match the filter information in the filterBucket into the EntityCollection passed.
The entity collection object has to contain an entity factory object which will be the factory for the entity instances
to be fetched.
(Inherited from DataAccessAdapterCore.) | |
FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression, IPrefetchPath2, ExcludeIncludeFieldsList) |
Fetches one or more entities which match the filter information in the filterBucket into the EntityCollection passed.
The entity collection object has to contain an entity factory object which will be the factory for the entity instances
to be fetched.
(Inherited from DataAccessAdapterCore.) | |
FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression, Int32, Int32) |
Fetches one or more entities which match the filter information in the filterBucket into the EntityCollection passed.
The entity collection object has to contain an entity factory object which will be the factory for the entity instances
to be fetched.
(Inherited from DataAccessAdapterCore.) | |
FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression, IPrefetchPath2, Int32, Int32) |
Fetches one or more entities which match the filter information in the filterBucket into the EntityCollection passed.
The entity collection object has to contain an entity factory object which will be the factory for the entity instances
to be fetched.
It will apply paging and it will from there use a prefetch path fetch using the read page. It's important that pageSize
is smaller than the set ParameterisedPrefetchPathThreshold. If pagesize is larger than the limits set for
the ParameterisedPrefetchPathThreshold value, the query is likely to be slower than expected, though will work.
If pageNumber / pageSize are set to values which disable paging, a normal prefetch path fetch will be performed.
(Inherited from DataAccessAdapterCore.) | |
FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression, IPrefetchPath2, ExcludeIncludeFieldsList, Int32, Int32) |
Fetches one or more entities which match the filter information in the filterBucket into the EntityCollection passed.
The entity collection object has to contain an entity factory object which will be the factory for the entity instances
to be fetched.
It will apply paging and it will from there use a prefetch path fetch using the read page. It's important that pageSize
is smaller than the set ParameterisedPrefetchPathThreshold. If pagesize is larger than the limits set for
the ParameterisedPrefetchPathThreshold value, the query is likely to be slower than expected, though will work.
If pageNumber / pageSize are set to values which disable paging, a normal prefetch path fetch will be performed.
(Inherited from DataAccessAdapterCore.) | |
FetchEntityCollectionAsync |
Async variant of FetchEntityCollection(QueryParameters).
Fetches one or more entities which match the filter information in the parameters into the EntityCollection passed.
The entity collection object has to contain an entity factory object which will be the factory for the entity instances
to be fetched.
It will apply paging and it will from there use a prefetch path fetch using the read page. It's important that pageSize
is smaller than the set 'ParameterisedPrefetchPathThreshold. If pagesize is larger than the limits set for
the 'ParameterisedPrefetchPathThreshold' value, the query is likely to be slower than expected, though will work.
If pageNumber / pageSize are set to values which disable paging, a normal prefetch path fetch will be performed.
(Overrides DataAccessAdapterCoreFetchEntityCollectionAsync(QueryParameters, CancellationToken).) | |
FetchEntityUsingUniqueConstraint(IEntity2, IPredicateExpression) |
Fetches an entity from the persistent storage into the object specified using the filter specified.
Use the entity's uniqueconstraint filter construction methods to construct the required uniqueConstraintFilter for the
unique constraint you want to use.
(Inherited from DataAccessAdapterCore.) | |
FetchEntityUsingUniqueConstraint(IEntity2, IPredicateExpression, Context) |
Fetches an entity from the persistent storage into the object specified using the filter specified.
Use the entity's uniqueconstraint filter construction methods to construct the required uniqueConstraintFilter for the
unique constraint you want to use.
(Inherited from DataAccessAdapterCore.) | |
FetchEntityUsingUniqueConstraint(IEntity2, IPredicateExpression, IPrefetchPath2) |
Fetches an entity from the persistent storage into the object specified using the filter specified.
Use the entity's uniqueconstraint filter construction methods to construct the required uniqueConstraintFilter for the
unique constraint you want to use.
(Inherited from DataAccessAdapterCore.) | |
FetchEntityUsingUniqueConstraint(IEntity2, IPredicateExpression, IPrefetchPath2, Context) |
Fetches an entity from the persistent storage into the object specified using the filter specified.
Use the entity's uniqueconstraint filter construction methods to construct the required uniqueConstraintFilter for the
unique constraint you want to use.
(Inherited from DataAccessAdapterCore.) | |
FetchEntityUsingUniqueConstraint(IEntity2, IPredicateExpression, IPrefetchPath2, Context, ExcludeIncludeFieldsList) |
Fetches the entity using unique constraint.
(Overrides DataAccessAdapterCoreFetchEntityUsingUniqueConstraint(IEntity2, IPredicateExpression, IPrefetchPath2, Context, ExcludeIncludeFieldsList).) | |
FetchExcludedFields(IEntity2, ExcludeIncludeFieldsList) |
Loads the data for the excluded fields specified in the list of excluded fields into the entity passed in.
(Inherited from DataAccessAdapterCore.) | |
FetchExcludedFields(IEntityCollection2, ExcludeIncludeFieldsList) |
Loads the data for the excluded fields specified in the list of excluded fields into all the entities in the entities collection passed in.
(Overrides DataAccessAdapterCoreFetchExcludedFields(IEntityCollection2, ExcludeIncludeFieldsList).) | |
FetchExcludedFieldsAsync(IEntity2, ExcludeIncludeFieldsList) |
Async variant of FetchExcludedFields(IEntity2, ExcludeIncludeFieldsList).
Loads the data for the excluded fields specified in the list of excluded fields into the entity passed in.
(Inherited from DataAccessAdapterCore.) | |
FetchExcludedFieldsAsync(IEntityCollection2, ExcludeIncludeFieldsList) |
Async variant of FetchExcludedFields(IEntityCollection2, ExcludeIncludeFieldsList).
Loads the data for the excluded fields specified in the list of excluded fields into all the entities in the entities collection passed in.
(Inherited from DataAccessAdapterCore.) | |
FetchExcludedFieldsAsync(IEntity2, ExcludeIncludeFieldsList, CancellationToken) |
Async variant of FetchExcludedFields(IEntity2, ExcludeIncludeFieldsList).
Loads the data for the excluded fields specified in the list of excluded fields into the entity passed in.
(Inherited from DataAccessAdapterCore.) | |
FetchExcludedFieldsAsync(IEntityCollection2, ExcludeIncludeFieldsList, CancellationToken) |
Async variant of FetchExcludedFields(IEntityCollection2, ExcludeIncludeFieldsList).
Loads the data for the excluded fields specified in the list of excluded fields into all the entities in the entities collection passed in.
(Overrides DataAccessAdapterCoreFetchExcludedFieldsAsync(IEntityCollection2, ExcludeIncludeFieldsList, CancellationToken).) | |
FetchNewEntity(IEntityFactory2, IRelationPredicateBucket) |
Fetches a new entity using the filter/relation combination filter passed in via filterBucket and the new entity is created using the
passed in entity factory. Use this method when fetching a related entity using a current entity (for example, fetch the related Customer entity
of an existing Order entity)
(Inherited from DataAccessAdapterCore.) | |
FetchNewEntity(IEntityFactory2, IRelationPredicateBucket, Context) |
Fetches a new entity using the filter/relation combination filter passed in via filterBucket and the new entity is created using the
passed in entity factory. Use this method when fetching a related entity using a current entity (for example, fetch the related Customer entity
of an existing Order entity)
(Inherited from DataAccessAdapterCore.) | |
FetchNewEntity(IEntityFactory2, IRelationPredicateBucket, IPrefetchPath2) |
Fetches a new entity using the filter/relation combination filter passed in via filterBucket and the new entity is created using the
passed in entity factory. Use this method when fetching a related entity using a current entity (for example, fetch the related Customer entity
of an existing Order entity)
(Inherited from DataAccessAdapterCore.) | |
FetchNewEntity(IEntityFactory2, IRelationPredicateBucket, IPrefetchPath2, Context) |
Fetches a new entity using the filter/relation combination filter passed in via filterBucket and the new entity is created using the
passed in entity factory. Use this method when fetching a related entity using a current entity (for example, fetch the related Customer entity
of an existing Order entity)
(Inherited from DataAccessAdapterCore.) | |
FetchNewEntity(IEntityFactory2, IRelationPredicateBucket, IPrefetchPath2, Context, ExcludeIncludeFieldsList) |
Fetches a new entity using the filter/relation combination filter passed in via filterBucket and the new entity is created using the
passed in entity factory. Use this method when fetching a related entity using a current entity (for example, fetch the related Customer entity
of an existing Order entity)
(Overrides DataAccessAdapterCoreFetchNewEntity(IEntityFactory2, IRelationPredicateBucket, IPrefetchPath2, Context, ExcludeIncludeFieldsList).) | |
FetchNewEntityTEntity(IRelationPredicateBucket) |
Fetches a new entity using the filter/relation combination filter passed in via filterBucket and the new entity is created using the
specified generic type. Use this method when fetching a related entity using a current entity (for example, fetch the related Customer entity
of an existing Order entity)
(Inherited from DataAccessAdapterCore.) | |
FetchNewEntityTEntity(IRelationPredicateBucket, Context) |
Fetches a new entity using the filter/relation combination filter passed in via filterBucket and the new entity is created using the
specified generic type. Use this method when fetching a related entity using a current entity (for example, fetch the related Customer entity
of an existing Order entity)
(Inherited from DataAccessAdapterCore.) | |
FetchNewEntityTEntity(IRelationPredicateBucket, IPrefetchPath2) |
Fetches a new entity using the filter/relation combination filter passed in via filterBucket and the new entity is created using the
specified generic type. Use this method when fetching a related entity using a current entity (for example, fetch the related Customer entity
of an existing Order entity)
(Inherited from DataAccessAdapterCore.) | |
FetchNewEntityTEntity(IRelationPredicateBucket, IPrefetchPath2, Context) |
Fetches a new entity using the filter/relation combination filter passed in via filterBucket and the new entity is created using the
specified generic type. Use this method when fetching a related entity using a current entity (for example, fetch the related Customer entity
of an existing Order entity)
(Inherited from DataAccessAdapterCore.) | |
FetchNewEntityTEntity(IRelationPredicateBucket, IPrefetchPath2, Context, ExcludeIncludeFieldsList) |
Fetches a new entity using the filter/relation combination filter passed in via filterBucket and the new entity is created using the
specified generic type. Use this method when fetching a related entity using a current entity (for example, fetch the related Customer entity
of an existing Order entity)
(Inherited from DataAccessAdapterCore.) | |
FetchPrefetchPath |
Fetches one or more entities which match the filter information in the filterBucket into the EntityCollection passed.
The entity collection object has to contain an entity factory object which will be the factory for the entity instances
to be fetched.
(Overrides DataAccessAdapterCoreFetchPrefetchPath(IEntityCollection2, IRelationPredicateBucket, Int64, ISortExpression, IPrefetchPath2).) | |
FetchProjection(ListIDataValueProjector, IGeneralDataProjector, IRetrievalQuery) |
Executes the passed in retrievalquery and projects the resultset using the value projectors and the projector specified.
IF a transaction is in progress, the command is wired to the transaction and executed inside the transaction. The projection results
will be stored in the projector.
(Overrides DataAccessAdapterCoreFetchProjection(ListIDataValueProjector, IGeneralDataProjector, IRetrievalQuery).) | |
FetchProjection(ListIDataValueProjector, IGeneralDataProjector, QueryParameters) |
Creates a new Retrieval query from the elements passed in, executes that retrievalquery and projects the resultset of that query using the
value projectors and the projector specified. If a transaction is in progress, the command is wired to the transaction and executed inside the
transaction. The projection results will be stored in the projector.
(Overrides DataAccessAdapterCoreFetchProjection(ListIDataValueProjector, IGeneralDataProjector, QueryParameters).) | |
FetchProjection(ListIDataValueProjector, IGeneralDataProjector, IDataReader) |
Projects the current resultset of the passed in datareader using the value projectors and the projector specified. The reader will be left open
(Inherited from DataAccessAdapterCore.) | |
FetchProjection(ListIDataValueProjector, IGeneralDataProjector, IRetrievalQuery, DictionaryInt32, TypeConverter) |
Executes the passed in retrievalquery and projects the resultset using the value projectors and the projector specified.
IF a transaction is in progress, the command is wired to the transaction and executed inside the transaction. The projection results
will be stored in the projector.
(Inherited from DataAccessAdapterCore.) | |
FetchProjection(ListIDataValueProjector, IGeneralDataProjector, IDataReader, IRetrievalQuery) |
Projects the current resultset of the passed in datareader using the value projectors and the projector specified. The reader will be left open
(Inherited from DataAccessAdapterCore.) | |
FetchProjection(ListIDataValueProjector, IGeneralDataProjector, IRetrievalQuery, ListIEntityFieldCore, Boolean) |
Executes the passed in retrievalquery and projects the resultset using the value projectors and the projector specified.
IF a transaction is in progress, the command is wired to the transaction and executed inside the transaction. The projection results
will be stored in the projector.
(Overrides DataAccessAdapterCoreFetchProjection(ListIDataValueProjector, IGeneralDataProjector, IRetrievalQuery, ListIEntityFieldCore, Boolean).) | |
FetchProjection(ListIDataValueProjector, IGeneralDataProjector, IEntityFields2, IRelationPredicateBucket, Int32, Boolean) |
Creates a new Retrieval query from the elements passed in, executes that retrievalquery and projects the resultset of that query using the
value projectors and the projector specified. If a transaction is in progress, the command is wired to the transaction and executed inside the
transaction. The projection results will be stored in the projector.
(Inherited from DataAccessAdapterCore.) | |
FetchProjection(ListIDataValueProjector, IGeneralDataProjector, IRetrievalQuery, Boolean, Boolean, DictionaryInt32, TypeConverter) |
Executes the passed in retrievalquery and projects the resultset using the value projectors and the projector specified.
IF a transaction is in progress, the command is wired to the transaction and executed inside the transaction. The projection results
will be stored in the projector.
(Inherited from DataAccessAdapterCore.) | |
FetchProjection(ListIDataValueProjector, IGeneralDataProjector, IEntityFields2, IRelationPredicateBucket, Int32, ISortExpression, Boolean) |
Creates a new Retrieval query from the elements passed in, executes that retrievalquery and projects the resultset of that query using the
value projectors and the projector specified. If a transaction is in progress, the command is wired to the transaction and executed inside the
transaction. The projection results will be stored in the projector.
(Inherited from DataAccessAdapterCore.) | |
FetchProjection(ListIDataValueProjector, IGeneralDataProjector, IEntityFields2, IRelationPredicateBucket, Int32, ISortExpression, Boolean, Int32, Int32) |
Creates a new Retrieval query from the elements passed in, executes that retrievalquery and projects the resultset of that query using the
value projectors and the projector specified. If a transaction is in progress, the command is wired to the transaction and executed inside the
transaction. The projection results will be stored in the projector.
(Inherited from DataAccessAdapterCore.) | |
FetchProjection(ListIDataValueProjector, IGeneralDataProjector, IEntityFields2, IRelationPredicateBucket, Int32, ISortExpression, IGroupByCollection, Boolean, Int32, Int32) |
Creates a new Retrieval query from the elements passed in, executes that retrievalquery and projects the resultset of that query using the
value projectors and the projector specified. If a transaction is in progress, the command is wired to the transaction and executed inside the
transaction. The projection results will be stored in the projector.
(Inherited from DataAccessAdapterCore.) | |
FetchProjectionT(IDataReader) |
Projects the current resultset of the passed in datareader using the value projectors and the projector specified. The reader will be left open
(Inherited from DataAccessAdapterCore.) | |
FetchProjectionT(IRetrievalQuery) |
Executes the passed in retrievalquery and projects the resultset onto instances of T (each row is materialized into an instance of T).
If a transaction is in progress, the command is wired to the transaction and executed inside the transaction.
(Overrides DataAccessAdapterCoreFetchProjectionT(IRetrievalQuery).) | |
FetchProjectionT(IDataReader, IRetrievalQuery) |
Projects the current resultset of the passed in datareader using the value projectors and the projector specified. The reader will be left open
(Overrides DataAccessAdapterCoreFetchProjectionT(IDataReader, IRetrievalQuery).) | |
FetchProjectionT(ListT, IRetrievalQuery, Boolean) |
Executes the passed in retrievalquery and projects the resultset onto instances of T (each row is materialized into an instance of T).
If a transaction is in progress, the command is wired to the transaction and executed inside the transaction. The projection results
will be stored in the specified destination set.
(Inherited from DataAccessAdapterCore.) | |
FetchProjectionAsync(ListIDataValueProjector, IGeneralDataProjector, QueryParameters, CancellationToken) |
Async variant of FetchProjection(ListIDataValueProjector, IGeneralDataProjector, QueryParameters).
Creates a new Retrieval query from the elements passed in, executes that retrievalquery and projects the resultset of that query using the
value projectors and the projector specified. If a transaction is in progress, the command is wired to the transaction and executed inside the
transaction. The projection results will be stored in the projector.
(Overrides DataAccessAdapterCoreFetchProjectionAsync(ListIDataValueProjector, IGeneralDataProjector, QueryParameters, CancellationToken).) | |
FetchProjectionAsync(ListIDataValueProjector, IGeneralDataProjector, IRetrievalQuery, CancellationToken) |
Async variant of FetchProjection(ListIDataValueProjector, IGeneralDataProjector, IRetrievalQuery)
Executes the passed in retrievalquery and projects the resultset using the value projectors and the projector specified.
IF a transaction is in progress, the command is wired to the transaction and executed inside the transaction. The projection results
will be stored in the projector.
(Inherited from DataAccessAdapterCore.) | |
FetchProjectionAsync(ListIDataValueProjector, IGeneralDataProjector, IRetrievalQuery, ListIEntityFieldCore, Boolean, CancellationToken) |
Async variant of FetchProjection(ListIDataValueProjector, IGeneralDataProjector, IRetrievalQuery, ListIEntityFieldCore, Boolean)
Executes the passed in retrievalquery and projects the resultset using the value projectors and the projector specified.
IF a transaction is in progress, the command is wired to the transaction and executed inside the transaction. The projection results
will be stored in the projector.
(Overrides DataAccessAdapterCoreFetchProjectionAsync(ListIDataValueProjector, IGeneralDataProjector, IRetrievalQuery, ListIEntityFieldCore, Boolean, CancellationToken).) | |
FetchProjectionAsync(ListIDataValueProjector, IGeneralDataProjector, IRetrievalQuery, Boolean, Boolean, DictionaryInt32, TypeConverter, CancellationToken) |
Executes the passed in retrievalquery and projects the resultset using the value projectors and the projector specified.
IF a transaction is in progress, the command is wired to the transaction and executed inside the transaction. The projection results
will be stored in the projector.
(Inherited from DataAccessAdapterCore.) | |
FetchProjectionAsyncT(IRetrievalQuery) |
Async variant of FetchProjectionT(IRetrievalQuery)
Executes the passed in retrievalquery and projects the resultset onto instances of T (each row is materialized into an instance of T).
If a transaction is in progress, the command is wired to the transaction and executed inside the transaction.
(Inherited from DataAccessAdapterCore.) | |
FetchProjectionAsyncT(IRetrievalQuery, CancellationToken) |
Async variant of FetchProjectionT(IRetrievalQuery)
Executes the passed in retrievalquery and projects the resultset onto instances of T (each row is materialized into an instance of T).
If a transaction is in progress, the command is wired to the transaction and executed inside the transaction.
(Overrides DataAccessAdapterCoreFetchProjectionAsyncT(IRetrievalQuery, CancellationToken).) | |
FetchProjectionAsyncT(ListT, IRetrievalQuery, CancellationToken, Boolean) |
Async variant of FetchProjectionT(ListT, IRetrievalQuery, Boolean)
Executes the passed in retrievalquery and projects the resultset onto instances of T (each row is materialized into an instance of T).
If a transaction is in progress, the command is wired to the transaction and executed inside the transaction. The projection results
will be stored in the specified destination set.
(Inherited from DataAccessAdapterCore.) | |
FetchQueryT(String, Object) |
Executes the specified plain SQL query using this adapter and projects each row in the resultset to an instance of T. Every parameter value is converted into one or more parameters
which have to be pre-defined in the sqlQuery. Uses default fetch aspects.
(Inherited from DataAccessAdapterCore.) | |
FetchQueryT(PlainSQLFetchAspects, String, Object) |
Executes the specified plain SQL query using this adapter and projects each row in the resultset to an instance of T. Every parameter value is converted into one or more parameters
which have to be pre-defined in the sqlQuery.
(Overrides DataAccessAdapterCoreFetchQueryT(PlainSQLFetchAspects, String, Object).) | |
FetchQueryAsyncT(String, Object) |
Async variant of FetchQueryT(String, Object)
Executes the specified plain SQL query using this adapter and projects each row in the resultset to an instance of T. Every parameter value is converted into one or more parameters
which have to be pre-defined in the sqlQuery. Uses default fetch aspects.
(Inherited from DataAccessAdapterCore.) | |
FetchQueryAsyncT(CancellationToken, String, Object) |
Async variant of FetchQueryT(String, Object)
Executes the specified plain SQL query using this adapter and projects each row in the resultset to an instance of T. Every parameter value is converted into one or more parameters
which have to be pre-defined in the sqlQuery. Uses default fetch aspects.
(Inherited from DataAccessAdapterCore.) | |
FetchQueryAsyncT(PlainSQLFetchAspects, String, Object) |
Async variant of FetchQueryT(PlainSQLFetchAspects, String, Object)
Executes the specified plain SQL query using this adapter and projects each row in the resultset to an instance of T. Every parameter value is converted into one or more parameters
which have to be pre-defined in the sqlQuery.
(Inherited from DataAccessAdapterCore.) | |
FetchQueryAsyncT(CancellationToken, PlainSQLFetchAspects, String, Object) |
Async variant of FetchQueryT(PlainSQLFetchAspects, String, Object)
Executes the specified plain SQL query using this adapter and projects each row in the resultset to an instance of T. Every parameter value is converted into one or more parameters
which have to be pre-defined in the sqlQuery.
(Overrides DataAccessAdapterCoreFetchQueryAsyncT(CancellationToken, PlainSQLFetchAspects, String, Object).) | |
FetchScalarQueryT(String, Object) |
Executes the specified plain SQL query using this adapter and returns the first scalar value returned as an instance of T.
Every parameter value is converted into one or more parameters which have to be pre-defined in the sqlQuery. Uses default fetch aspects.
(Inherited from DataAccessAdapterCore.) | |
FetchScalarQueryT(PlainSQLFetchAspects, String, Object) |
Executes the specified plain SQL query using this adapter and returns the first scalar value returned as an instance of T.
Every parameter value is converted into one or more parameters which have to be pre-defined in the sqlQuery.
(Inherited from DataAccessAdapterCore.) | |
FetchScalarQueryAsyncT(String, Object) |
Async variant of FetchScalarQueryT(String, Object).`
Executes the specified plain SQL query using this adapter and returns the first scalar value returned as an instance of T.
Every parameter value is converted into one or more parameters which have to be pre-defined in the sqlQuery. Uses default fetch aspects.
(Inherited from DataAccessAdapterCore.) | |
FetchScalarQueryAsyncT(CancellationToken, String, Object) |
Async variant of FetchScalarQueryT(String, Object).
Executes the specified plain SQL query using this adapter and returns the first scalar value returned as an instance of T.
Every parameter value is converted into one or more parameters which have to be pre-defined in the sqlQuery. Uses default fetch aspects.
(Inherited from DataAccessAdapterCore.) | |
FetchScalarQueryAsyncT(PlainSQLFetchAspects, String, Object) |
Async variant of FetchScalarQueryT(PlainSQLFetchAspects, String, Object).
Executes the specified plain SQL query using this adapter and returns the first scalar value returned as an instance of T.
Every parameter value is converted into one or more parameters which have to be pre-defined in the sqlQuery.
(Inherited from DataAccessAdapterCore.) | |
FetchScalarQueryAsyncT(CancellationToken, PlainSQLFetchAspects, String, Object) |
Async variant of FetchScalarQueryT(PlainSQLFetchAspects, String, Object).
Executes the specified plain SQL query using this adapter and returns the first scalar value returned as an instance of T.
Every parameter value is converted into one or more parameters which have to be pre-defined in the sqlQuery.
(Inherited from DataAccessAdapterCore.) | |
FetchTypedList(ITypedListLgp2) |
Fetches the fields passed in fieldCollectionToFetch from the persistent storage using the relations and filter information stored in
the passed in typed list.
For TypedView filling, use the method FetchTypedView()
(Inherited from DataAccessAdapterCore.) | |
FetchTypedList(DataTable, QueryParameters) |
Fetches the fields passed in fieldCollectionToFetch from the persistent storage using the relations and filter information stored in
filterBucket into the DataTable object passed in. Use this routine to fill a typed list object.
For TypedView filling, use the method FetchTypedView()
(Overrides DataAccessAdapterCoreFetchTypedList(DataTable, QueryParameters).) | |
FetchTypedList(ITypedListLgp2, IPredicateExpression) |
Fetches the fields passed in fieldCollectionToFetch from the persistent storage using the relations and filter information stored in
the passed in typed list.
For TypedView filling, use the method FetchTypedView()
(Inherited from DataAccessAdapterCore.) | |
FetchTypedList(IEntityFields2, DataTable, IRelationPredicateBucket) |
Fetches the fields passed in fieldCollectionToFetch from the persistent storage using the relations and filter information stored in
filterBucket into the DataTable object passed in. Use this routine to fill a typed list object. Doesn't apply any sorting, doesn't limit
the resultset on the amount of rows to return, does allow duplicates.
For TypedView filling, use the method FetchTypedView()
(Inherited from DataAccessAdapterCore.) | |
FetchTypedList(IEntityFields2, DataTable, IRelationPredicateBucket, Boolean) |
Fetches the fields passed in fieldCollectionToFetch from the persistent storage using the relations and filter information stored in
filterBucket into the DataTable object passed in. Use this routine to fill a typed list object. Doesn't apply any sorting, doesn't limit
the resultset on the amount of rows to return.
For TypedView filling, use the method FetchTypedView()
(Inherited from DataAccessAdapterCore.) | |
FetchTypedList(IEntityFields2, DataTable, IRelationPredicateBucket, Int32, Boolean) |
Fetches the fields passed in fieldCollectionToFetch from the persistent storage using the relations and filter information stored in
filterBucket into the DataTable object passed in. Use this routine to fill a typed list object. Doesn't apply any sorting.
For TypedView filling, use the method FetchTypedView()
(Inherited from DataAccessAdapterCore.) | |
FetchTypedList(ITypedListLgp2, IPredicateExpression, Int32, ISortExpression, Boolean) |
Fetches the fields passed in fieldCollectionToFetch from the persistent storage using the relations and filter information stored in
the passed in typed list.
For TypedView filling, use the method FetchTypedView()
(Inherited from DataAccessAdapterCore.) | |
FetchTypedList(IEntityFields2, DataTable, IRelationPredicateBucket, Int32, ISortExpression, Boolean) |
Fetches the fields passed in fieldCollectionToFetch from the persistent storage using the relations and filter information stored in
filterBucket into the DataTable object passed in. Use this routine to fill a typed list object.
For TypedView filling, use the method FetchTypedView()
(Inherited from DataAccessAdapterCore.) | |
FetchTypedList(IEntityFields2, DataTable, IRelationPredicateBucket, Int32, ISortExpression, Boolean, IGroupByCollection) |
Fetches the fields passed in fieldCollectionToFetch from the persistent storage using the relations and filter information stored in
filterBucket into the DataTable object passed in. Use this routine to fill a typed list object.
For TypedView filling, use the method FetchTypedView()
(Inherited from DataAccessAdapterCore.) | |
FetchTypedList(ITypedListLgp2, IPredicateExpression, Int32, ISortExpression, Boolean, Int32, Int32) |
Fetches the fields passed in fieldCollectionToFetch from the persistent storage using the relations and filter information stored in
the passed in typed list.
For TypedView filling, use the method FetchTypedView()
(Inherited from DataAccessAdapterCore.) | |
FetchTypedList(IEntityFields2, DataTable, IRelationPredicateBucket, Int32, ISortExpression, Boolean, IGroupByCollection, Int32, Int32) |
Fetches the fields passed in fieldCollectionToFetch from the persistent storage using the relations and filter information stored in
filterBucket into the DataTable object passed in. Use this routine to fill a typed list object.
For TypedView filling, use the method FetchTypedView()
(Inherited from DataAccessAdapterCore.) | |
FetchTypedListAsync |
Async variant of FetchTypedList(DataTable, QueryParameters).
Fetches the fields passed in fieldCollectionToFetch from the persistent storage using the relations and filter information stored in
filterBucket into the DataTable object passed in. Use this routine to fill a typed list object.
For TypedView filling, use the method FetchTypedView()
(Overrides DataAccessAdapterCoreFetchTypedListAsync(DataTable, QueryParameters, CancellationToken).) | |
FetchTypedView(ITypedView2) |
Fetches the Typed View passed in from the persistent storage
Doesn't apply any sorting, doesn't limit the amount of rows returned by the query, doesn't apply any filtering, allows duplicate rows.
Use this routine to fill a TypedView object.
(Inherited from DataAccessAdapterCore.) | |
FetchTypedView(DataTable, QueryParameters) |
Fetches the Typed View fields passed in fieldCollectionToFetch from the persistent storage using the query information stored in
parameters into the DataTable object passed in. Use this routine to fill a TypedView object.
(Overrides DataAccessAdapterCoreFetchTypedView(DataTable, QueryParameters).) | |
FetchTypedView(IEntityFields2, DataTable) |
Fetches the Typed View fields passed in fieldCollectionToFetch from the persistent storage into the DataTable object passed in. Doesn't apply any sorting, doesn't limit the amount of rows returned by the query, doesn't
apply any filtering, allows duplicate rows.
Use this routine to fill a TypedView object.
(Inherited from DataAccessAdapterCore.) | |
FetchTypedView(ITypedView2, IRetrievalQuery) |
Fetches the typed view, using the query specified.
(Overrides DataAccessAdapterCoreFetchTypedView(ITypedView2, IRetrievalQuery).) | |
FetchTypedView(ITypedView2, Boolean) |
Fetches the Typed View passed in from the persistent storage
Doesn't apply any sorting, doesn't limit the amount of rows returned by the query, doesn't apply any filtering.
Use this routine to fill a TypedView object.
(Inherited from DataAccessAdapterCore.) | |
FetchTypedView(IEntityFields2, DataTable, Boolean) |
Fetches the Typed View fields passed in fieldCollectionToFetch from the persistent storage into the DataTable object passed in. Doesn't apply any sorting, doesn't limit the amount of rows returned by the query, doesn't
apply any filtering.
Use this routine to fill a TypedView object.
(Inherited from DataAccessAdapterCore.) | |
FetchTypedView(ITypedView2, IRelationPredicateBucket, Boolean) |
Fetches the Typed View passed in from the persistent storage
Doesn't apply any sorting, doesn't limit the amount of rows returned by the query.
Use this routine to fill a TypedView object.
(Inherited from DataAccessAdapterCore.) | |
FetchTypedView(IEntityFields2, DataTable, IRelationPredicateBucket, Boolean) |
Fetches the Typed View fields passed in fieldCollectionToFetch from the persistent storage using the filter information stored in
filterBucket into the DataTable object passed in. Doesn't apply any sorting, doesn't limit the amount of rows returned by the query.
Use this routine to fill a TypedView object.
(Inherited from DataAccessAdapterCore.) | |
FetchTypedView(ITypedView2, IRelationPredicateBucket, Int32, Boolean) |
Fetches the Typed View passed in from the persistent storage
Doesn't apply any sorting. Use this routine to fill a TypedView object.
(Inherited from DataAccessAdapterCore.) | |
FetchTypedView(IEntityFields2, DataTable, IRelationPredicateBucket, Int32, Boolean) |
Fetches the Typed View fields passed in fieldCollectionToFetch from the persistent storage using the filter information stored in
filterBucket into the DataTable object passed in. Doesn't apply any sorting
Use this routine to fill a TypedView object.
(Inherited from DataAccessAdapterCore.) | |
FetchTypedView(ITypedView2, IRelationPredicateBucket, Int32, ISortExpression, Boolean) |
Fetches the Typed View passed in from the persistent storage
(Inherited from DataAccessAdapterCore.) | |
FetchTypedView(IEntityFields2, DataTable, IRelationPredicateBucket, Int32, ISortExpression, Boolean) |
Fetches the Typed View fields passed in fieldCollectionToFetch from the persistent storage using the filter information stored in
filterBucket into the DataTable object passed in. Use this routine to fill a TypedView object.
(Inherited from DataAccessAdapterCore.) | |
FetchTypedView(ITypedView2, IRelationPredicateBucket, Int32, ISortExpression, Boolean, IGroupByCollection) |
Fetches the Typed View passed in from the persistent storage
(Inherited from DataAccessAdapterCore.) | |
FetchTypedView(IEntityFields2, DataTable, IRelationPredicateBucket, Int32, ISortExpression, Boolean, IGroupByCollection) |
Fetches the Typed View fields passed in fieldCollectionToFetch from the persistent storage using the filter information stored in
filterBucket into the DataTable object passed in. Use this routine to fill a TypedView object.
(Inherited from DataAccessAdapterCore.) | |
FetchTypedView(IEntityFields2, DataTable, IRelationPredicateBucket, Int32, ISortExpression, Boolean, IGroupByCollection, Int32, Int32) |
Fetches the Typed View fields passed in fieldCollectionToFetch from the persistent storage using the filter information stored in
filterBucket into the DataTable object passed in. Use this routine to fill a TypedView object.
(Inherited from DataAccessAdapterCore.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetActiveConnection |
Returns the active connection object. If no connection object is present, a new one will be created.
(Inherited from DataAccessAdapterCore.) | |
GetDbCount(IEntityCollection2, IRelationPredicateBucket) |
Gets the estimated number of objects returned by a query for objects to store in the entity collection passed in, using the filter and
groupby clause specified. The number is estimated as duplicate objects can be present in the plain query results, but will be filtered out
when the query result is transformed into objects.
(Inherited from DataAccessAdapterCore.) | |
GetDbCount(IEntityFields2, IRelationPredicateBucket) |
Gets the number of rows returned by a query for the fields specified, using the filter and groupby clause specified.
(Inherited from DataAccessAdapterCore.) | |
GetDbCount(IEntityCollection2, IRelationPredicateBucket, IGroupByCollection) |
Gets the estimated number of objects returned by a query for objects to store in the entity collection passed in, using the filter and
groupby clause specified. The number is estimated as duplicate objects can be present in the plain query results, but will be filtered out
when the query result is transformed into objects.
(Inherited from DataAccessAdapterCore.) | |
GetDbCount(IEntityFields2, IRelationPredicateBucket, IGroupByCollection) |
Gets the number of rows returned by a query for the fields specified, using the filter and groupby clause specified.
(Inherited from DataAccessAdapterCore.) | |
GetDbCount(IEntityFields2, IRelationPredicateBucket, IGroupByCollection, Boolean) |
Gets the number of rows returned by a query for the fields specified, using the filter and groupby clause specified.
(Overrides DataAccessAdapterCoreGetDbCount(IEntityFields2, IRelationPredicateBucket, IGroupByCollection, Boolean).) | |
GetDbProviderFactoryInstance |
Gets the DB provider factory instance.
(Inherited from DataAccessAdapterCore.) | |
GetDbSpecificCreatorInstance |
Gets the db specific creator instance for the database this object targets.
(Inherited from DataAccessAdapterCore.) | |
GetFieldPersistenceInfo |
Retrieves the persistence info for the field passed in.
(Inherited from DataAccessAdapterCore.) | |
GetFieldPersistenceInfos(String) |
Retrieves the persistence info objects for the fields of the entity passed in.
(Inherited from DataAccessAdapterCore.) | |
GetFieldPersistenceInfos(IEntity2) |
Retrieves the persistence info objects for the fields of the entity passed in.
(Inherited from DataAccessAdapterCore.) | |
GetFieldPersistenceInfos(IEntityFieldsCore) |
Retrieves the persistence info for the fields passed in.
(Inherited from DataAccessAdapterCore.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetScalar(IEntityField2, AggregateFunction) |
Gets a scalar value, calculated with the aggregate and expression specified. the field specified is the field the expression and aggregate are
applied on.
(Inherited from DataAccessAdapterCore.) | |
GetScalar(IEntityField2, IExpression, AggregateFunction) |
Gets a scalar value, calculated with the aggregate and expression specified. the field specified is the field the expression and aggregate are
applied on.
(Inherited from DataAccessAdapterCore.) | |
GetScalar(IEntityFields2, IPredicate, IGroupByCollection) |
Executes the expression defined with the field in the fields collection specified, using the various elements defined. The expression is executed as a
scalar query and a single value is returned.
(Inherited from DataAccessAdapterCore.) | |
GetScalar(IEntityField2, IExpression, AggregateFunction, IPredicate) |
Gets a scalar value, calculated with the aggregate and expression specified. the field specified is the field the expression and aggregate are
applied on.
(Inherited from DataAccessAdapterCore.) | |
GetScalar(IEntityFields2, IPredicate, IGroupByCollection, IRelationCollection) |
Executes the expression defined with the field in the fields collection specified, using the various elements defined. The expression is executed as a
scalar query and a single value is returned.
(Overrides DataAccessAdapterCoreGetScalar(IEntityFields2, IPredicate, IGroupByCollection, IRelationCollection).) | |
GetScalar(IEntityField2, IExpression, AggregateFunction, IPredicate, IGroupByCollection) |
Gets a scalar value, calculated with the aggregate and expression specified. the field specified is the field the expression and aggregate are
applied on.
(Inherited from DataAccessAdapterCore.) | |
GetScalar(IEntityField2, IExpression, AggregateFunction, IPredicate, IGroupByCollection, IRelationCollection) |
Gets a scalar value, calculated with the aggregate and expression specified. the field specified is the field the expression and aggregate are
applied on.
(Inherited from DataAccessAdapterCore.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HandleValueReadErrors |
Routine which is meant to handle value read errors when GetValues is called on the passed in reader. This routine is only called when the
GetValues() method on the passed in reader throws an exception. Implementors of this routine thus have to call different methods to retrieve
the values for the current row. The data has to be read into the toFill array.
(Inherited from DataAccessAdapterCore.) | |
InitClassPhase2 |
Performs the second phase of the initialization. Done from derived classes.
(Inherited from DataAccessAdapterCore.) | |
InsertPersistenceInfoObjects(IDbFunctionCall) |
Inserts the persistence info objects into the function call object passed in, for every field object present as parameter in the function call.
(Inherited from DataAccessAdapterCore.) | |
InsertPersistenceInfoObjects(IDerivedTableDefinition) |
Inserts the persistence info objects into the objects of the passed in derived table.
(Inherited from DataAccessAdapterCore.) | |
InsertPersistenceInfoObjects(IEntityField2) |
Inserts the persistence info objects on all objects referenced by the passed in field.
(Inherited from DataAccessAdapterCore.) | |
InsertPersistenceInfoObjects(IExpression) |
Inserts for each entityfield in the expression the persistence info object
(Inherited from DataAccessAdapterCore.) | |
InsertPersistenceInfoObjects(IGroupByCollection) |
Inserts for each entityfield in the collection the persistence info object
(Inherited from DataAccessAdapterCore.) | |
InsertPersistenceInfoObjects(IPredicateExpression) |
Inserts in each predicate expression element the persistence info object for the field used. If there is already a fieldpersistenceinfo
element for a given field, it is skipped.
(Inherited from DataAccessAdapterCore.) | |
InsertPersistenceInfoObjects(IRelationCollection) |
Inserts in each entityrelation object the persistence info objects for the fields referenced.
(Inherited from DataAccessAdapterCore.) | |
InsertPersistenceInfoObjects(IScalarQueryExpression) |
Inserts the persistence info objects into the scalar query expression object passed in.
(Inherited from DataAccessAdapterCore.) | |
InsertPersistenceInfoObjects(ISortExpression) |
Inserts in each SortClause object the persistence info object for the field referenced.
(Inherited from DataAccessAdapterCore.) | |
InsertPersistenceInfoObjects(TableValuedFunctionCall) |
Inserts the persistence info objects into objects of the passed in tvfcall.
(Inherited from DataAccessAdapterCore.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MergeManyToMany |
Merges the entities fetched in currentElement.RetrievalCollection with the rootEntities for a many to many relation
(Inherited from DataAccessAdapterCore.) | |
MergeManyToManyAsync |
Merges the entities fetched in currentElement.RetrievalCollection with the rootEntities for a many to many relation
(Inherited from DataAccessAdapterCore.) | |
OnAfterTransactionCommit |
Called right after the Commit() method has performed its logic and the commit was succesful.
(Inherited from DataAccessAdapterCore.) | |
OnAfterTransactionRollback |
Called right after the Rollback() method has performed its logic and the rollback was succesful.
(Inherited from DataAccessAdapterCore.) | |
OnBeforeEntitySave |
Called from PersistQueue, the internal queue processing routine, before the entity is validated and before the entity
is used to create a query and actually saved. The entity passed in as entitySaved is already added to the transaction.
(Inherited from DataAccessAdapterCore.) | |
OnBeforeTransactionCommit |
Called right before the Commit() method starts its logic.
(Inherited from DataAccessAdapterCore.) | |
OnBeforeTransactionRollback |
Called right before the Rollback() method starts its logic.
(Inherited from DataAccessAdapterCore.) | |
OnDeleteEntitiesDirectly |
Called right before the actual delete query is executed
(Inherited from DataAccessAdapterCore.) | |
OnDeleteEntitiesDirectlyComplete |
Called right before the actual delete query is executed
(Inherited from DataAccessAdapterCore.) | |
OnDeleteEntity |
Called right before the actual delete action is executed
(Inherited from DataAccessAdapterCore.) | |
OnDeleteEntityCollection |
Called at the start of the DeleteEntityCollection method
(Inherited from DataAccessAdapterCore.) | |
OnDeleteEntityCollectionComplete |
Called at the end of the DeleteEntityCollection method
(Inherited from DataAccessAdapterCore.) | |
OnDeleteEntityComplete |
Called right before the actual delete action is executed
(Inherited from DataAccessAdapterCore.) | |
OnFetchEntity |
Called right before the actual fetch is executed.
(Inherited from DataAccessAdapterCore.) | |
OnFetchEntityCollection |
Called right before the actual fetch is executed
(Inherited from DataAccessAdapterCore.) | |
OnFetchEntityCollectionComplete |
Called right after the actual fetch is executed
(Inherited from DataAccessAdapterCore.) | |
OnFetchEntityComplete |
Called right after the actual fetch is executed.
(Inherited from DataAccessAdapterCore.) | |
OnFetchTypedList |
Called right before the actual fetch is executed
(Inherited from DataAccessAdapterCore.) | |
OnFetchTypedListComplete |
Called right after the actual fetch is executed
(Inherited from DataAccessAdapterCore.) | |
OnFetchTypedView |
Called right before the actual fetch is executed
(Inherited from DataAccessAdapterCore.) | |
OnFetchTypedViewComplete |
Called right after the actual fetch is executed
(Inherited from DataAccessAdapterCore.) | |
OnGetScalar |
Called right before the actual scalar query is executed
(Inherited from DataAccessAdapterCore.) | |
OnInsertPersistenceObjects |
Method which is called from the default clause of the InsertPersistenceInfoObjects(predicateexpression) routine, which is useful for people who
implement their own Predicate objects.
(Inherited from DataAccessAdapterCore.) | |
OnSaveEntity |
Called right before the actual Save action is executed.
(Inherited from DataAccessAdapterCore.) | |
OnSaveEntityCollection |
Called at the start of the SaveEntityCollection() method
(Inherited from DataAccessAdapterCore.) | |
OnSaveEntityCollectionComplete |
Called at the end of the SaveEntityCollection() method
(Inherited from DataAccessAdapterCore.) | |
OnSaveEntityComplete |
Called right after the actual Save action was executed.
(Inherited from DataAccessAdapterCore.) | |
OnUpdateEntitiesDirectly |
Called right before the actual update query is executed
(Inherited from DataAccessAdapterCore.) | |
OnUpdateEntitiesDirectlyComplete |
Called right after the actual update query is executed
(Inherited from DataAccessAdapterCore.) | |
OpenConnection |
Opens the active connection object. If the connection is already open, nothing is done.
If no connection object is present, a new one is created
(Inherited from DataAccessAdapterCore.) | |
OpenConnectionAsync |
Async variant of OpenConnection.
Opens the active connection object. If the connection is already open, nothing is done.
If no connection object is present, a new one is created
(Inherited from DataAccessAdapterCore.) | |
OpenConnectionAsync(CancellationToken) |
Async variant of OpenConnection.
Opens the active connection object. If the connection is already open, nothing is done.
If no connection object is present, a new one is created
(Inherited from DataAccessAdapterCore.) | |
PerformExecuteSingleRowRetrievalQuery |
Performs the execute single row retrieval query action. This method simply calls Execute on the queryToExecute passed in.
(Inherited from DataAccessAdapterCore.) | |
PostProcessNewDynamicQueryEngine |
Post-processes a new dynamic query engine object, which is passed in.
(Inherited from DataAccessAdapterCore.) | |
RawCallActionStoredProcedure |
The core call of an action stored procedure call. Executes the command specified and opens the connection if required.
(Overrides DataAccessAdapterCoreRawCallActionStoredProcedure(DbCommand).) | |
RawCallRetrievalProcedure(DataSet, DbDataAdapter) |
The core call of a retrieval stored procedure call. Performs a fill operation on the adapter for the dataset specified
(Overrides DataAccessAdapterCoreRawCallRetrievalProcedure(DataSet, DbDataAdapter).) | |
RawCallRetrievalProcedure(DataTable, DbDataAdapter) |
The core call of a retrieval stored procedure call. Performs a fill operation on the adapter for the datatable specified
(Overrides DataAccessAdapterCoreRawCallRetrievalProcedure(DataTable, DbDataAdapter).) | |
ReadHandleCatalogNameSettingFromConfig |
Reads the value of the setting with the key CatalogNameUsageSetting from the *.config file and stores that value as the
active setting for catalogNameUsageSetting for this instance, IF specified. If specified, a key with the name CatalogNameToUse is
expected as well.
(Inherited from DataAccessAdapterCore.) | |
ReadHandleSchemaNameSettingFromConfig |
Reads the value of the setting with the key SchemaNameUsageSetting from the *.config file and stores that value as the
active setting for schemaNameUsageSetting for this instance, IF specified. If specified, a key with the name SchemaNameToUse is
expected as well.
(Inherited from DataAccessAdapterCore.) | |
Rollback |
Rolls back the transaction in action. It will end all database activity, since commiting a transaction is finalizing it. After
calling Commit or Rollback, the ITransaction implementing class will reset itself.
If in a COM+ transaction: it will flag the context to abort. It will NOT set the done bit.
(Inherited from DataAccessAdapterCore.) | |
Rollback(String) |
Rolls back the transaction in action to the savepoint with the name savepointName. No internal objects are being reset when this method is called,
so call this Rollback overload only to roll back to a savepoint. To roll back a complete transaction, call Rollback() without specifying a savepoint
name. Create a savepoint by calling SaveTransaction(savePointName)
(Inherited from DataAccessAdapterCore.) | |
SaveEntity(IEntity2) |
Saves the passed in entity to the persistent storage. Will not refetch the entity after this save.
The entity will stay out-of-sync. If the entity is new, it will be inserted, if the entity is existent, the changed
entity fields will be changed in the database. Will do a recursive save.
Will pass the concurrency predicate returned by GetConcurrencyPredicate(ConcurrencyPredicateType.Save) as update restriction.
(Inherited from DataAccessAdapterCore.) | |
SaveEntity(IEntity2, Boolean) |
Saves the passed in entity to the persistent storage. If the entity is new, it will be inserted, if the entity is existent, the changed
entity fields will be changed in the database. Will do a recursive save.
Will pass the concurrency predicate returned by GetConcurrencyPredicate(ConcurrencyPredicateType.Save) as update restriction.
(Inherited from DataAccessAdapterCore.) | |
SaveEntity(IEntity2, Boolean, IPredicateExpression) |
Saves the passed in entity to the persistent storage. If the entity is new, it will be inserted, if the entity is existent, the changed
entity fields will be changed in the database. Will do a recursive save.
(Inherited from DataAccessAdapterCore.) | |
SaveEntity(IEntity2, Boolean, Boolean) |
Saves the passed in entity to the persistent storage. If the entity is new, it will be inserted, if the entity is existent, the changed
entity fields will be changed in the database.
Will pass the concurrency predicate returned by GetConcurrencyPredicate(ConcurrencyPredicateType.Save) as update restriction.
(Inherited from DataAccessAdapterCore.) | |
SaveEntity(IEntity2, Boolean, IPredicateExpression, Boolean) |
Saves the passed in entity to the persistent storage. If the entity is new, it will be inserted, if the entity is existent, the changed
entity fields will be changed in the database.
(Overrides DataAccessAdapterCoreSaveEntity(IEntity2, Boolean, IPredicateExpression, Boolean).) | |
SaveEntityAsync(IEntity2) |
Async variant of SaveEntity(IEntity2).
Saves the passed in entity to the persistent storage. Will not refetch the entity after this save.
The entity will stay out-of-sync. If the entity is new, it will be inserted, if the entity is existent, the changed
entity fields will be changed in the database. Will do a recursive save.
Will pass the concurrency predicate returned by GetConcurrencyPredicate(ConcurrencyPredicateType.Save) as update restriction.
(Inherited from DataAccessAdapterCore.) | |
SaveEntityAsync(IEntity2, Boolean) |
Async variant of SaveEntity(IEntity2, Boolean).
Saves the passed in entity to the persistent storage. If the entity is new, it will be inserted, if the entity is existent, the changed
entity fields will be changed in the database. Will do a recursive save.
Will pass the concurrency predicate returned by GetConcurrencyPredicate(ConcurrencyPredicateType.Save) as update restriction.
(Inherited from DataAccessAdapterCore.) | |
SaveEntityAsync(IEntity2, CancellationToken) |
Async variant of SaveEntity(IEntity2).
Saves the passed in entity to the persistent storage. Will not refetch the entity after this save.
The entity will stay out-of-sync. If the entity is new, it will be inserted, if the entity is existent, the changed
entity fields will be changed in the database. Will do a recursive save.
Will pass the concurrency predicate returned by GetConcurrencyPredicate(ConcurrencyPredicateType.Save) as update restriction.
(Inherited from DataAccessAdapterCore.) | |
SaveEntityAsync(IEntity2, Boolean, Boolean) |
Async variant of SaveEntity(IEntity2, Boolean, Boolean).
Saves the passed in entity to the persistent storage. If the entity is new, it will be inserted, if the entity is existent, the changed
entity fields will be changed in the database.
Will pass the concurrency predicate returned by GetConcurrencyPredicate(ConcurrencyPredicateType.Save) as update restriction.
(Inherited from DataAccessAdapterCore.) | |
SaveEntityAsync(IEntity2, Boolean, CancellationToken) |
Async variant of SaveEntity(IEntity2, Boolean).
Saves the passed in entity to the persistent storage. If the entity is new, it will be inserted, if the entity is existent, the changed
entity fields will be changed in the database. Will do a recursive save.
Will pass the concurrency predicate returned by GetConcurrencyPredicate(ConcurrencyPredicateType.Save) as update restriction.
(Inherited from DataAccessAdapterCore.) | |
SaveEntityAsync(IEntity2, Boolean, Boolean, CancellationToken) |
Async variant of SaveEntity(IEntity2, Boolean, Boolean).
Saves the passed in entity to the persistent storage. If the entity is new, it will be inserted, if the entity is existent, the changed
entity fields will be changed in the database.
Will pass the concurrency predicate returned by GetConcurrencyPredicate(ConcurrencyPredicateType.Save) as update restriction.
(Inherited from DataAccessAdapterCore.) | |
SaveEntityAsync(IEntity2, Boolean, IPredicateExpression, Boolean, CancellationToken) |
Async variant of SaveEntity(IEntity2, Boolean, IPredicateExpression, Boolean).
Saves the passed in entity to the persistent storage. If the entity is new, it will be inserted, if the entity is existent, the changed
entity fields will be changed in the database.
(Overrides DataAccessAdapterCoreSaveEntityAsync(IEntity2, Boolean, IPredicateExpression, Boolean, CancellationToken).) | |
SaveEntityCollection(IEntityCollection2) |
Saves all dirty objects inside the collection passed to the persistent storage. It will do this inside a transaction if a transaction
is not yet available. Will not refetch saved entities and will not recursively save the entities.
(Inherited from DataAccessAdapterCore.) | |
SaveEntityCollection(IEntityCollection2, Boolean, Boolean) |
Saves all dirty objects inside the collection passed to the persistent storage. It will do this inside a transaction if a transaction
is not yet available.
(Overrides DataAccessAdapterCoreSaveEntityCollection(IEntityCollection2, Boolean, Boolean).) | |
SaveEntityCollectionAsync(IEntityCollection2) |
Async variant of SaveEntityCollection(IEntityCollection2).
Saves all dirty objects inside the collection passed to the persistent storage. It will do this inside a transaction if a transaction
is not yet available. Will not refetch saved entities and will not recursively save the entities.
(Inherited from DataAccessAdapterCore.) | |
SaveEntityCollectionAsync(IEntityCollection2, CancellationToken) |
Async variant of SaveEntityCollection(IEntityCollection2).
Saves all dirty objects inside the collection passed to the persistent storage. It will do this inside a transaction if a transaction
is not yet available. Will not refetch saved entities and will not recursively save the entities.
(Inherited from DataAccessAdapterCore.) | |
SaveEntityCollectionAsync(IEntityCollection2, Boolean, Boolean) |
Async variant of SaveEntityCollection(IEntityCollection2, Boolean, Boolean).
Saves all dirty objects inside the collection passed to the persistent storage. It will do this inside a transaction if a transaction
is not yet available.
(Inherited from DataAccessAdapterCore.) | |
SaveEntityCollectionAsync(IEntityCollection2, Boolean, Boolean, CancellationToken) |
Async variant of SaveEntityCollection(IEntityCollection2, Boolean, Boolean).
Saves all dirty objects inside the collection passed to the persistent storage. It will do this inside a transaction if a transaction
is not yet available.
(Overrides DataAccessAdapterCoreSaveEntityCollectionAsync(IEntityCollection2, Boolean, Boolean, CancellationToken).) | |
SaveTransaction |
Creates a savepoint with the name savePointName in the current transaction. You can roll back to this savepoint using
Rollback(String).
(Inherited from DataAccessAdapterCore.) | |
SetPerInstanceCompatibilityLevel |
Sets the per instance compatibility level on the dqe instance specified.
(Inherited from DataAccessAdapterCore.) | |
StartTransaction |
Starts a new transaction. All database activity after this call will be ran in this transaction and all objects will participate
in this transaction until its committed or rolled back.
If there is a transaction in progress, an exception is thrown.
Will create and open a new connection if a transaction is not open and/or available.
(Inherited from DataAccessAdapterCore.) | |
StartTransactionAsync(IsolationLevel, String) |
Async variant of StartTransaction(IsolationLevel, String).
Starts a new transaction. All database activity after this call will be ran in this transaction and all objects will participate
in this transaction until its committed or rolled back.
If there is a transaction in progress, an exception is thrown.
Will create and open a new connection if a transaction is not open and/or available.
(Inherited from DataAccessAdapterCore.) | |
StartTransactionAsync(IsolationLevel, String, CancellationToken) |
Async variant of StartTransaction(IsolationLevel, String).
Starts a new transaction. All database activity after this call will be ran in this transaction and all objects will participate
in this transaction until its committed or rolled back.
If there is a transaction in progress, an exception is thrown.
Will create and open a new connection if a transaction is not open and/or available.
(Inherited from DataAccessAdapterCore.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateEntitiesDirectly |
Updates all entities of the same type or subtype of the entity entityWithNewValues directly in the persistent storage if they match the filter
supplied in filterBucket. Only the fields changed in entityWithNewValues are updated for these fields. Entities of a subtype of the type
of entityWithNewValues which are affected by the filterBucket's filter will thus also be updated.
(Overrides DataAccessAdapterCoreUpdateEntitiesDirectly(IEntity2, IRelationPredicateBucket).) | |
UpdateEntitiesDirectlyAsync(IEntity2, IRelationPredicateBucket) |
Async variant of UpdateEntitiesDirectly(IEntity2, IRelationPredicateBucket).
Updates all entities of the same type or subtype of the entity entityWithNewValues directly in the persistent storage if they match the filter
supplied in filterBucket. Only the fields changed in entityWithNewValues are updated for these fields. Entities of a subtype of the type
of entityWithNewValues which are affected by the filterBucket's filter will thus also be updated.
(Inherited from DataAccessAdapterCore.) | |
UpdateEntitiesDirectlyAsync(IEntity2, IRelationPredicateBucket, CancellationToken) |
Async variant of UpdateEntitiesDirectly(IEntity2, IRelationPredicateBucket).
Updates all entities of the same type or subtype of the entity entityWithNewValues directly in the persistent storage if they match the filter
supplied in filterBucket. Only the fields changed in entityWithNewValues are updated for these fields. Entities of a subtype of the type
of entityWithNewValues which are affected by the filterBucket's filter will thus also be updated.
(Overrides DataAccessAdapterCoreUpdateEntitiesDirectlyAsync(IEntity2, IRelationPredicateBucket, CancellationToken).) | |
WireTransaction |
Wires an active transaction to the command object of the passed in query. If no transaction is in progress, nothing is wired.
(Inherited from DataAccessAdapterCore.) |
Name | Description | |
---|---|---|
TransactionCommitted |
Raised when Commit was successful.
(Inherited from DataAccessAdapterCore.) | |
TransactionRolledback |
Raised when Rollback was successful.
(Inherited from DataAccessAdapterCore.) |
Name | Description | |
---|---|---|
IDataAccessCoreFetchExcludedFieldBatch |
Fetches the excluded field batch defined by the parameters specified. The returned reader is used by the batch fetcher to merge the resultset
it represents into the entities hold by the caller.
(Inherited from DataAccessAdapterCore.) | |
IDataAccessCoreFetchExcludedFieldBatchAsync |
Async variant of FetchExcludedFieldBatch(IEntityFieldsCore, IRelationPredicateBucket, Int32).
Fetches the excluded field batch defined by the parameters specified. The returned reader is used by the batch fetcher to merge the resultset
it represents into the entities hold by the caller.
(Inherited from DataAccessAdapterCore.) | |
IDataAccessCoreProduceCorrectStoredProcedureName |
Creates the correct stored procedure name, i.e. with catalog / schema name replaced properly.
(Inherited from DataAccessAdapterCore.) | |
ITransactionControllerCommit |
Commits the controlled ado.net transaction
(Inherited from DataAccessAdapterCore.) | |
ITransactionControllerRollback |
Rolls back the controlled ado.net transaction
(Inherited from DataAccessAdapterCore.) |