SingleRepositoryService<TEntity> Class
Namespace: PTS.DomainFramework.Common
Assembly: PTS.DomainFramework.Domain.dll
Service with a defined repository accessor of given entity type.
Syntax
public abstract class SingleRepositoryService<TEntity> : UnitOfWorkService, IServiceProviderAccessor where TEntity : class
Type Parameters
Name | Description |
---|---|
TEntity | Type of entity |
Inheritance
System.Object
SingleRepositoryService<TEntity>
Implements
Constructors
SingleRepositoryService(IUnitOfWork)
Declaration
public SingleRepositoryService(IUnitOfWork data)
Parameters
Type | Name | Description |
---|---|---|
IUnitOfWork | data |
Properties
Repository
Declaration
protected IRepository<TEntity> Repository { get; }
Property Value
Type | Description |
---|---|
IRepository<TEntity> |
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()