Show / Hide Table of Contents

Interface IEmployeeCaseChangeService

Payroll employee case change service

Inherited Members
IReadService<ICaseChange, EmployeeServiceContext, CaseChangeQuery>.QueryAsync<T>(EmployeeServiceContext, CaseChangeQuery)
IReadService<ICaseChange, EmployeeServiceContext, CaseChangeQuery>.QueryCountAsync(EmployeeServiceContext, CaseChangeQuery)
IReadService<ICaseChange, EmployeeServiceContext, CaseChangeQuery>.QueryResultAsync<T>(EmployeeServiceContext, CaseChangeQuery)
IReadService<ICaseChange, EmployeeServiceContext, CaseChangeQuery>.GetAsync<T>(EmployeeServiceContext, int)
Namespace: PayrollEngine.Client.Service
Assembly: PayrollEngine.Client.Core.dll
Syntax
public interface IEmployeeCaseChangeService : IReadService<ICaseChange, EmployeeServiceContext, CaseChangeQuery>

Methods

GetAsync<T>(EmployeeServiceContext, CaseChangeQuery)

Get employee case change by division

Declaration
Task<List<T>> GetAsync<T>(EmployeeServiceContext context, CaseChangeQuery query = null) where T : class, ICaseChange
Parameters
Type Name Description
EmployeeServiceContext context

The service context

CaseChangeQuery query

The case change query

Returns
Type Description
Task<List<T>>

The new case change

Type Parameters
Name Description
T

QueryValuesAsync<T>(EmployeeServiceContext, CaseChangeQuery)

Query objects

Declaration
Task<List<T>> QueryValuesAsync<T>(EmployeeServiceContext context, CaseChangeQuery query = null) where T : class, ICaseChangeCaseValue
Parameters
Type Name Description
EmployeeServiceContext context

The service context

CaseChangeQuery query

The query

Returns
Type Description
Task<List<T>>

List of objects

Type Parameters
Name Description
T

QueryValuesCountAsync(EmployeeServiceContext, CaseChangeQuery)

Query count of objects

Declaration
Task<long> QueryValuesCountAsync(EmployeeServiceContext context, CaseChangeQuery query = null)
Parameters
Type Name Description
EmployeeServiceContext context

The service context

CaseChangeQuery query

The query

Returns
Type Description
Task<long>

Count of objects

QueryValuesResultAsync<T>(EmployeeServiceContext, CaseChangeQuery)

Query items and count of objects

Declaration
Task<QueryResult<T>> QueryValuesResultAsync<T>(EmployeeServiceContext context, CaseChangeQuery query = null) where T : class, ICaseChangeCaseValue
Parameters
Type Name Description
EmployeeServiceContext context

The service context

CaseChangeQuery query

The query

Returns
Type Description
Task<QueryResult<T>>

List and count of objects

Type Parameters
Name Description
T

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX