Class WacListDataService<TEntity, TFilter, TDto>
Inheritance
System.Object
WacListDataService<TEntity, TFilter, TDto>
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()
Assembly: WaCore.Crud.Services.dll
Syntax
public abstract class WacListDataService<TEntity, TFilter, TDto> : IWacListDataService<TFilter, TDto> where TEntity : class where TFilter : IWacFilter
Type Parameters
Name |
Description |
TEntity |
|
TFilter |
|
TDto |
|
Constructors
|
Improve this Doc
View Source
WacListDataService(IWacUnitOfWork)
Declaration
public WacListDataService(IWacUnitOfWork unitOfWork)
Parameters
Fields
|
Improve this Doc
View Source
Repo
Declaration
protected readonly IWacListDataRepository<TEntity, TFilter> Repo
Field Value
Methods
|
Improve this Doc
View Source
Get(Object)
Declaration
public TDto Get(object id)
Parameters
Type |
Name |
Description |
System.Object |
id |
|
Returns
|
Improve this Doc
View Source
GetAsync(Object)
Declaration
public Task<TDto> GetAsync(object id)
Parameters
Type |
Name |
Description |
System.Object |
id |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TDto> |
|
|
Improve this Doc
View Source
GetList(TFilter)
Declaration
public IPagedList<TDto> GetList(TFilter filter)
Parameters
Type |
Name |
Description |
TFilter |
filter |
|
Returns
|
Improve this Doc
View Source
GetListAsync(TFilter)
Declaration
public Task<IPagedList<TDto>> GetListAsync(TFilter filter)
Parameters
Type |
Name |
Description |
TFilter |
filter |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IPagedList<TDto>> |
|
|
Improve this Doc
View Source
MapEntityToDto(TEntity)
Declaration
protected abstract TDto MapEntityToDto(TEntity entity)
Parameters
Type |
Name |
Description |
TEntity |
entity |
|
Returns
Implements