IDataAccessAdapter Interface |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The IDataAccessAdapter type exposes the following members.
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.
| |
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.
| |
ConnectionString |
Gets / sets the connection string to use for the connection with the database.
| |
FunctionMappings |
Gets the function mappings for the DQE related to this object. These function mappings are static and therefore not changeable.
| |
InSystemTransaction |
Gets a value indicating whether a System.Transactions transaction is going on. If not, false is returned.
| |
IsTransactionInProgress |
Gets IsTransactionInProgress. True when there is a transaction in progress.
(Inherited from ITransactionController.) | |
KeepConnectionOpen |
Gets / sets KeepConnectionOpen, a flag used to keep open connections after a database action has finished.
| |
KeepTrackOfTransactionParticipants |
The flag (default true) 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.
| |
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.
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. | |
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.
| |
TransactionName |
Gets the name of the transaction. Setting this during a transaction in progress has no effect on the current running transaction.
|
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 IDataAccessCore.) | |
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 IDataAccessCore.) | |
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 IDataAccessCore.) | |
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 IDataAccessCore.) | |
CloseConnection |
Closes the active connection. If no connection is available or the connection is closed, nothing is done.
| |
Commit |
Commits the controlled ado.net transaction
(Inherited from ITransactionController.) | |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
If the passed in entity has a concurrency predicate factory object, the returned predicate expression is used to restrict the delete process.
| |
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.
| |
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.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
ExecuteActionQuery |
Executes the passed in action query and, if not null, runs it inside the passed in transaction.
| |
ExecuteActionQueryAsync |
Async variant of ExecuteActionQuery(IActionQuery).
Executes the passed in action query and, if not null, runs it inside the passed in transaction.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
ExecuteScalarQuery |
Executes the passed in query as a scalar query and returns the value returned from this scalar execution.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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)
| |
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)
| |
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)
| |
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)
| |
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). All fields specified in excludedFields are excluded from the fetch so the entity won't
get any value set for those fields. excludedFields can be null or empty, in which case all fields are fetched (default).
| |
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.
| |
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
| |
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
| |
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
| |
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
| |
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.
| |
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.
| |
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.
| |
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.
| |
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. It will work, though if pagesize is larger than the limits set for
the ParameterisedPrefetchPathThreshold value, the query is likely to be slower than expected.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
FetchEntityUsingUniqueConstraint(IEntity2, IPredicateExpression, IPrefetchPath2, Context, ExcludeIncludeFieldsList) |
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.
| |
FetchExcludedFieldBatch |
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 IDataAccessCore.) | |
FetchExcludedFieldBatchAsync |
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 IDataAccessCore.) | |
FetchExcludedFields(IEntity2, ExcludeIncludeFieldsList) |
Loads the data for the excluded fields specified in the list of excluded fields into the entity passed in.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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)
| |
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)
| |
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)
| |
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)
| |
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)
| |
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)
| |
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)
| |
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)
| |
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)
| |
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)
| |
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.
| |
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.
| |
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
| |
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
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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()
| |
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()
| |
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()
| |
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()
| |
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()
| |
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()
| |
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()
| |
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()
| |
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()
| |
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()
| |
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()
| |
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()
| |
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.
| |
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.
| |
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.
| |
FetchTypedView(ITypedView2, IRetrievalQuery) |
Fetches the typed view, using the query specified.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
FetchTypedView(ITypedView2, IRelationPredicateBucket, Int32, ISortExpression, Boolean) |
Fetches the Typed View passed in from the persistent storage
| |
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.
| |
FetchTypedView(ITypedView2, IRelationPredicateBucket, Int32, ISortExpression, Boolean, IGroupByCollection) |
Fetches the Typed View passed in from the persistent storage
| |
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.
| |
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.
| |
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 raw query results, but will be filtered out
when the query result is transformed into objects.
| |
GetDbCount(IEntityFields2, IRelationPredicateBucket) |
Gets the number of rows returned by a query for the fields specified, using the filter and groupby clause specified.
| |
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 raw query results, but will be filtered out
when the query result is transformed into objects.
| |
GetDbCount(IEntityFields2, IRelationPredicateBucket, IGroupByCollection) |
Gets the number of rows returned by a query for the fields specified, using the filter and groupby clause specified.
| |
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.
| |
GetDbProviderFactoryInstance |
Gets the DB provider factory instance.
(Inherited from IDataAccessCore.) | |
GetDbSpecificCreatorInstance |
Gets the db specific creator instance for the database this object targets.
(Inherited from IDataAccessCore.) | |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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
| |
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
| |
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
| |
ProduceCorrectStoredProcedureName |
Creates the correct stored procedure name, i.e. with catalog / schema name replaced properly.
(Inherited from IDataAccessCore.) | |
Rollback |
Rolls back the controlled ado.net transaction
(Inherited from ITransactionController.) | |
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)
| |
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.
| |
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.
| |
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.
Will pass the concurrency predicate returned by GetConcurrencyPredicate(ConcurrencyPredicateType.Save) as update restriction.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
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.
| |
SaveTransaction |
Creates a savepoint with the name savePointName in the current transaction. You can roll back to this savepoint using
Rollback(String).
| |
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.
| |
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.
| |
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.
| |
UpdateEntitiesDirectly |
Updates all entities of the same type 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.
| |
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.
| |
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.
|
Name | Description | |
---|---|---|
TransactionCommitted |
Raised when Commit was successful.
(Inherited from ITransactionController.) | |
TransactionRolledback |
Raised when Rollback was successful.
(Inherited from ITransactionController.) |
Name | Description | |
---|---|---|
FetchAsDataReader |
Fetches the query as an open data reader.
(Defined by AdapterExtensionMethods.) | |
FetchAsDataReaderAsync |
Async variant of FetchAsDataReader(IDataAccessAdapter, DynamicQuery, CommandBehavior).
Fetches the query as an open data reader.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchAsDataTable(DynamicQuery) | Overloaded.
Fetches the specified query into a new DataTable specified and returns that datatable.
(Defined by AdapterExtensionMethods.) | |
FetchAsDataTable(DynamicQuery, DataTable) | Overloaded.
Fetches the specified query into the DataTable specified and returns that datatable.
(Defined by AdapterExtensionMethods.) | |
FetchAsDataTableAsync(DynamicQuery) | Overloaded.
Async variant of FetchAsDataTable(IDataAccessAdapter, DynamicQuery).
Fetches the specified query into a new DataTable specified and returns that datatable.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchAsDataTableAsync(DynamicQuery, DataTable) | Overloaded.
Async variant of FetchAsDataTable(IDataAccessAdapter, DynamicQuery, DataTable).
Fetches the specified query into the DataTable specified and returns that datatable.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchAsDataTableAsync(DynamicQuery, CancellationToken) | Overloaded.
Async variant of FetchAsDataTable(IDataAccessAdapter, DynamicQuery).
Fetches the specified query into a new DataTable specified and returns that datatable.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchAsDataTableAsync(DynamicQuery, DataTable, CancellationToken) | Overloaded.
Async variant of FetchAsDataTable(IDataAccessAdapter, DynamicQuery, DataTable).
Fetches the specified query into the DataTable specified and returns that datatable.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchAsProjection |
Fetches the query as a projection, using the projector specified.
(Defined by AdapterExtensionMethods.) | |
FetchAsProjectionAsync(DynamicQuery, IGeneralDataProjector) | Overloaded.
Async variant of FetchAsProjection(IDataAccessAdapter, DynamicQuery, IGeneralDataProjector).
Fetches the query as a projection, using the projector specified.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchAsProjectionAsync(DynamicQuery, IGeneralDataProjector, CancellationToken) | Overloaded.
Async variant of FetchAsProjection(IDataAccessAdapter, DynamicQuery, IGeneralDataProjector).
Fetches the query as a projection, using the projector specified.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchFirstT(DynamicQueryT) | Overloaded.
Fetches the first object of the set returned by the query and returns that object, if any, otherwise null.
(Defined by AdapterExtensionMethods.) | |
FetchFirstTEntity(EntityQueryTEntity) | Overloaded.
Fetches the first entity of the set returned by the query and returns that entity, if any, otherwise null.
(Defined by AdapterExtensionMethods.) | |
FetchFirstAsyncT(DynamicQueryT) | Overloaded.
Async variant of FetchFirstT(IDataAccessAdapter, DynamicQueryT).
Fetches the first object of the set returned by the query and returns that object, if any, otherwise null.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchFirstAsyncTEntity(EntityQueryTEntity) | Overloaded.
Async variant of FetchFirstTEntity(IDataAccessAdapter, EntityQueryTEntity).
Fetches the first entity of the set returned by the query and returns that entity, if any, otherwise null.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchFirstAsyncT(DynamicQueryT, CancellationToken) | Overloaded.
Async variant of FetchFirstT(IDataAccessAdapter, DynamicQueryT).
Fetches the first object of the set returned by the query and returns that object, if any, otherwise null.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchFirstAsyncTEntity(EntityQueryTEntity, CancellationToken) | Overloaded.
Async variant of FetchFirstTEntity(IDataAccessAdapter, EntityQueryTEntity).
Fetches the first entity of the set returned by the query and returns that entity, if any, otherwise null.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchQuery(DynamicQuery) | Overloaded.
Fetches the query specified and returns the results in plain object arrays, one object array per returned row of the query specified.
(Defined by AdapterExtensionMethods.) | |
FetchQueryTElement(DynamicQueryTElement) | Overloaded.
Fetches the query specified and returns the results in a list of TElement objects, which are created using the projectorFunc of the query specified.
(Defined by AdapterExtensionMethods.) | |
FetchQueryTEntity(EntityQueryTEntity) | Overloaded.
Fetches the query specified on the adapter specified. Uses the TEntity type to produce an EntityCollection(Of TEntity) for the results to return
(Defined by AdapterExtensionMethods.) | |
FetchQueryTEntity, TCollection(EntityQueryTEntity, TCollection) | Overloaded.
Fetches the query specified on the adapter specified into the collectionToFill specified.
(Defined by AdapterExtensionMethods.) | |
FetchQueryAsync(DynamicQuery) | Overloaded.
Async variant of FetchQuery(IDataAccessAdapter, DynamicQuery).
Fetches the query specified and returns the results in plain object arrays, one object array per returned row of the query specified.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchQueryAsync(DynamicQuery, CancellationToken) | Overloaded.
Async variant of FetchQuery(IDataAccessAdapter, DynamicQuery).
Fetches the query specified and returns the results in plain object arrays, one object array per returned row of the query specified.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchQueryAsyncTElement(DynamicQueryTElement) | Overloaded.
Async variant of FetchQueryTElement(IDataAccessAdapter, DynamicQueryTElement).
Fetches the query specified and returns the results in a list of TElement objects, which are created using the projectorFunc of the query specified.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchQueryAsyncTEntity(EntityQueryTEntity) | Overloaded.
Async variant of FetchQueryTEntity(IDataAccessAdapter, EntityQueryTEntity).
Fetches the query specified on the adapter specified. Uses the TEntity type to produce an EntityCollection(Of TEntity) for the results to return
(Defined by AsyncAdapterExtensionMethods.) | |
FetchQueryAsyncTElement(DynamicQueryTElement, CancellationToken) | Overloaded.
Async variant of FetchQueryTElement(IDataAccessAdapter, DynamicQueryTElement).
Fetches the query specified and returns the results in a list of TElement objects, which are created using the projectorFunc of the query specified.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchQueryAsyncTEntity(EntityQueryTEntity, CancellationToken) | Overloaded.
Async variant of FetchQueryTEntity(IDataAccessAdapter, EntityQueryTEntity).
Fetches the query specified on the adapter specified. Uses the TEntity type to produce an EntityCollection(Of TEntity) for the results to return
(Defined by AsyncAdapterExtensionMethods.) | |
FetchQueryAsyncTEntity, TCollection(EntityQueryTEntity, TCollection) | Overloaded.
Async variant of FetchQueryTEntity, TCollection(IDataAccessAdapter, EntityQueryTEntity, TCollection).
Fetches the query specified on the adapter specified into the collectionToFill specified.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchQueryAsyncTEntity, TCollection(EntityQueryTEntity, TCollection, CancellationToken) | Overloaded.
Async variant of FetchQueryTEntity, TCollection(IDataAccessAdapter, EntityQueryTEntity, TCollection).
Fetches the query specified on the adapter specified into the collectionToFill specified.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchQueryFromSourceTElement |
Fetches the query which projection specified from the source query specified. Typically used to fetch a typed view from a
stored procedure source.
(Defined by AdapterExtensionMethods.) | |
FetchQueryFromSourceAsyncTElement(DynamicQueryTElement, IRetrievalQuery) | Overloaded.
Async variant of FetchQueryFromSourceTElement(IDataAccessAdapter, DynamicQueryTElement, IRetrievalQuery)
Fetches the query which projection specified from the source query specified. Typically used to fetch a typed view from a stored procedure source.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchQueryFromSourceAsyncTElement(DynamicQueryTElement, IRetrievalQuery, CancellationToken) | Overloaded.
Async variant of FetchQueryFromSourceTElement(IDataAccessAdapter, DynamicQueryTElement, IRetrievalQuery)
Fetches the query which projection specified from the source query specified. Typically used to fetch a typed view from a stored procedure source.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchScalarTValue |
Fetches a scalar value using the query specified, and returns this value typed as TValue, using a cast. The query specified will be converted to a
scalar query prior to execution.
(Defined by AdapterExtensionMethods.) | |
FetchScalarAsyncTValue(DynamicQuery) | Overloaded.
Async variant of FetchScalarTValue(IDataAccessAdapter, DynamicQuery).
Fetches a scalar value using the query specified, and returns this value typed as TValue, using a cast. The query specified will be converted to a
scalar query prior to execution.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchScalarAsyncTValue(DynamicQuery, CancellationToken) | Overloaded.
Async variant of FetchScalarTValue(IDataAccessAdapter, DynamicQuery).
Fetches a scalar value using the query specified, and returns this value typed as TValue, using a cast. The query specified will be converted to a
scalar query prior to execution.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchSingleT(DynamicQueryT) | Overloaded.
Fetches the single object of the set returned by the query and returns that object. If there are no elements or more than 1 element,
a NotSupportedException will be thrown.
(Defined by AdapterExtensionMethods.) | |
FetchSingleTEntity(EntityQueryTEntity) | Overloaded.
Fetches the single entity of the set returned by the query and returns that entity. If there are no elements or more than 1 element,
a NotSupportedException will be thrown.
(Defined by AdapterExtensionMethods.) | |
FetchSingleAsyncT(DynamicQueryT) | Overloaded.
Async variant of FetchSingleT(IDataAccessAdapter, DynamicQueryT).
Fetches the single object of the set returned by the query and returns that object. If there are no elements or more than 1 element,
a NotSupportedException will be thrown.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchSingleAsyncTEntity(EntityQueryTEntity) | Overloaded.
Async variant of FetchSingleTEntity(IDataAccessAdapter, EntityQueryTEntity).
Fetches the single entity of the set returned by the query and returns that entity. If there are no elements or more than 1 element,
a NotSupportedException will be thrown.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchSingleAsyncT(DynamicQueryT, CancellationToken) | Overloaded.
Async variant of FetchSingleT(IDataAccessAdapter, DynamicQueryT).
Fetches the single object of the set returned by the query and returns that object. If there are no elements or more than 1 element,
a NotSupportedException will be thrown.
(Defined by AsyncAdapterExtensionMethods.) | |
FetchSingleAsyncTEntity(EntityQueryTEntity, CancellationToken) | Overloaded.
Async variant of FetchSingleTEntity(IDataAccessAdapter, EntityQueryTEntity).
Fetches the single entity of the set returned by the query and returns that entity. If there are no elements or more than 1 element,
a NotSupportedException will be thrown.
(Defined by AsyncAdapterExtensionMethods.) |