Base class for searchable repositories.
Inheritance Hierarchy
| Object | |
| SearchableRepositoryBase<(Of <(<'TEntity, TIdentity>)>)> | |
Assembly: Epic.Query.Object
Declaration Syntax
| C# |
[SerializableAttribute] public abstract class SearchableRepositoryBase<TEntity, TIdentity> : ISearchableRepository<TEntity, TIdentity>, IRepository<TEntity, TIdentity>, IEntityLoader<TEntity, TIdentity>, IDisposable where TEntity : class where TIdentity : Object, IEquatable<TIdentity>
Generic Template Parameters
- TEntity
[Missing <typeparam name="TEntity"/> documentation for "T:Epic.Query.Object.SearchableRepositoryBase`2"]
- TIdentity
[Missing <typeparam name="TIdentity"/> documentation for "T:Epic.Query.Object.SearchableRepositoryBase`2"]
Members
| All Members | Constructors | Methods | Properties | ||
| Member | Description | |
|---|---|---|
| SearchableRepositoryBase<(Of <(<'TEntity, TIdentity>)>)>(IIdentityMap<(Of <<'(TEntity, TIdentity>)>>), IEntityLoader<(Of <<'(TEntity, TIdentity>)>>), IMapping<(Of <<'(TEntity, TIdentity>)>>), String) |
Initializes a new instance of the SearchableRepositoryBase<(Of <(<'TEntity, TIdentity>)>)> class.
| |
| CleanUp(TEntity) |
Cleans up the instrumentation out of entity.
| |
| CreateEntityNotFoundException(TIdentity, Exception) |
Creates the KeyNotFoundException<(Of <(<'TKey>)>)> to throw.
| |
| Dispose()()()() |
Releases all resource used by the object derived by SearchableRepositoryBase<(Of <(<'TEntity, TIdentity>)>)>.
| |
| Identify(TEntity) |
Identify the specified entity.
| |
| Instrument(TEntity%) |
Instrument the specified entity.
| |
| Item[([( TIdentity])]) |
Returns the TEntity identified by the specified identity.
| |
| Search<(Of <<'(TSpecializedEntity>)>>)(ISpecification<(Of <<'(TSpecializedEntity>)>>)) |
Search the TSpecializedEntity that satify the specification provided.
| |
| ThrowIfDisposed()()()() |
Throws an ObjectDisposedException if the current instance was disposed.
|
