The IRepository type exposes the following members.
Methods
Name | Description | |
---|---|---|
CommitUnitOfWork(UnitOfWork2) |
Commits unit of work in a transaction
|
|
CommitUnitOfWork(UnitOfWork2, Boolean) |
Commits unit of work in a transaction and defines whether an automated transaction encapsulaption and rollback in case of error is performed.
|
|
DeleteEntitiesDirectly(String, IRelationPredicateBucket) |
Directly deletes an entity (or multiple entities) in the database
|
|
DeleteEntitiesDirectly(Type, IRelationPredicateBucket) |
Directly deletes an entity (or multiple entities) in the database
|
|
DeleteEntity(IEntity2) |
Deletes an entity.
|
|
DeleteEntity(IEntity2, IPredicateExpression) |
Deletes an entity.
|
|
DeleteEntityCollection |
Deletes all dirty objects inside a collection.
|
|
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.
|
|
FetchEntity(IEntity2) |
Wraps LLBLGEn.FetchEntity functionality. Fetches a single entity.
|
|
FetchEntity(IEntity2, Context) |
Wraps LLBLGEn.FetchEntity functionality. Fetches a single entity.
|
|
FetchEntity(IEntity2, IPrefetchPath2) |
Wraps LLBLGEn.FetchEntity functionality. Fetches a single entity.
|
|
FetchEntity(IEntity2, IPrefetchPath2, Context) |
Wraps LLBLGEn.FetchEntity functionality. Fetches a single entity.
|
|
FetchEntity(IEntity2, IPrefetchPath2, Context, ExcludeIncludeFieldsList) |
Wraps LLBLGEn.FetchEntity functionality. Fetches a single entity.
|
|
FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket) |
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
|
|
FetchEntityCollection(IEntityCollection2, ExcludeIncludeFieldsList, IRelationPredicateBucket) |
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
|
|
FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, IPrefetchPath2) |
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
|
|
FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32) |
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
|
|
FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression) |
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
|
|
FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression, IPrefetchPath2) |
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
|
|
FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression, IPrefetchPath2, ExcludeIncludeFieldsList) |
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
|
|
FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression, Int32, Int32) |
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
|
|
FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression, IPrefetchPath2, Int32, Int32) |
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
|
|
FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression, IPrefetchPath2, ExcludeIncludeFieldsList, Int32, Int32) |
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
|
|
FetchEntityUsingUniqueConstraint(IEntity2, IPredicateExpression) |
Fetches an entity from the persistent storage into the object specified using the filter specified.
|
|
FetchEntityUsingUniqueConstraint(IEntity2, IPredicateExpression, IPrefetchPath2) |
Fetches an entity from the persistent storage into the object specified using the filter specified.
|
|
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(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().
|
|
GetAdapter |
Gets the LLBLGen IDataAccessAdapter.
|
|
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.
|
|
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.
|
|
GetSqlServerCompatibilityLevel |
Gets the SQL Server compatibility level.
|
|
SaveEntity(IEntity2) |
Wraps the LLBLGen SaveEntity. Saves an entity to the database
|
|
SaveEntity(IEntity2, Boolean) |
Wraps the LLBLGen SaveEntity. Saves an entity to the database
|
|
SaveEntity(IEntity2, Boolean, Boolean) |
Wraps the LLBLGen SaveEntity. Saves an entity to the database
|
|
SaveEntityCollection(IEntityCollection2) |
Saves all dirty entities in an entity collection.
|
|
SaveEntityCollection(IEntityCollection2, Boolean, Boolean) |
Saves all dirty entities in an entity collection. Recursively saves all child entities and refetches the collection.
|
|
UpdateEntitiesDirectly |
Updates entities directly in the database, according to the values set in the entityWithNewValues.
|