The IRepository type exposes the following members.

Methods

  Name Description
Public method CommitUnitOfWork(UnitOfWork2)
Commits unit of work in a transaction
Public method 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.
Public method DeleteEntitiesDirectly(String, IRelationPredicateBucket)
Directly deletes an entity (or multiple entities) in the database
Public method DeleteEntitiesDirectly(Type, IRelationPredicateBucket)
Directly deletes an entity (or multiple entities) in the database
Public method DeleteEntity(IEntity2)
Deletes an entity.
Public method DeleteEntity(IEntity2, IPredicateExpression)
Deletes an entity.
Public method DeleteEntityCollection
Deletes all dirty objects inside a collection.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method FetchEntity(IEntity2)
Wraps LLBLGEn.FetchEntity functionality. Fetches a single entity.
Public method FetchEntity(IEntity2, Context)
Wraps LLBLGEn.FetchEntity functionality. Fetches a single entity.
Public method FetchEntity(IEntity2, IPrefetchPath2)
Wraps LLBLGEn.FetchEntity functionality. Fetches a single entity.
Public method FetchEntity(IEntity2, IPrefetchPath2, Context)
Wraps LLBLGEn.FetchEntity functionality. Fetches a single entity.
Public method FetchEntity(IEntity2, IPrefetchPath2, Context, ExcludeIncludeFieldsList)
Wraps LLBLGEn.FetchEntity functionality. Fetches a single entity.
Public method FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket)
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
Public method FetchEntityCollection(IEntityCollection2, ExcludeIncludeFieldsList, IRelationPredicateBucket)
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
Public method FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, IPrefetchPath2)
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
Public method FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32)
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
Public method FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression)
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
Public method FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression, IPrefetchPath2)
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
Public method FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression, IPrefetchPath2, ExcludeIncludeFieldsList)
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
Public method FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression, Int32, Int32)
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
Public method FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression, IPrefetchPath2, Int32, Int32)
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
Public method FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression, IPrefetchPath2, ExcludeIncludeFieldsList, Int32, Int32)
Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
Public method FetchEntityUsingUniqueConstraint(IEntity2, IPredicateExpression)
Fetches an entity from the persistent storage into the object specified using the filter specified.
Public method FetchEntityUsingUniqueConstraint(IEntity2, IPredicateExpression, IPrefetchPath2)
Fetches an entity from the persistent storage into the object specified using the filter specified.
Public method 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()
Public method 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()
Public method 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().
Public method 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().
Public method 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()
Public method 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().
Public method 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().
Public method 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()
Public method 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().
Public method 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().
Public method GetAdapter
Gets the LLBLGen IDataAccessAdapter.
Public method 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.
Public method GetDbCount(IEntityFields2, IRelationPredicateBucket)
Gets the number of rows returned by a query for the fields specified, using the filter and groupby clause specified.
Public method 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.
Public method GetDbCount(IEntityFields2, IRelationPredicateBucket, IGroupByCollection)
Gets the number of rows returned by a query for the fields specified, using the filter and groupby clause specified.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method GetSqlServerCompatibilityLevel
Gets the SQL Server compatibility level.
Public method SaveEntity(IEntity2)
Wraps the LLBLGen SaveEntity. Saves an entity to the database
Public method SaveEntity(IEntity2, Boolean)
Wraps the LLBLGen SaveEntity. Saves an entity to the database
Public method SaveEntity(IEntity2, Boolean, Boolean)
Wraps the LLBLGen SaveEntity. Saves an entity to the database
Public method SaveEntityCollection(IEntityCollection2)
Saves all dirty entities in an entity collection.
Public method SaveEntityCollection(IEntityCollection2, Boolean, Boolean)
Saves all dirty entities in an entity collection. Recursively saves all child entities and refetches the collection.
Public method UpdateEntitiesDirectly
Updates entities directly in the database, according to the values set in the entityWithNewValues.

See Also