Show / Hide Table of Contents

Class WageTypeService

Inheritance
object
ServiceBase
WageTypeService
Implements
IWageTypeService
ICrudService<IWageType, RegulationServiceContext, Query>
ICreateService<IWageType, RegulationServiceContext, Query>
IReadService<IWageType, RegulationServiceContext, Query>
Inherited Members
ServiceBase.AddQueryValue(string, string, object)
ServiceBase.AddQueryValue(string, string, DateTime)
ServiceBase.HttpClient
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Service.Api
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class WageTypeService : ServiceBase, IWageTypeService, ICrudService<IWageType, RegulationServiceContext, Query>, ICreateService<IWageType, RegulationServiceContext, Query>, IReadService<IWageType, RegulationServiceContext, Query>

Constructors

WageTypeService(PayrollHttpClient)

Declaration
public WageTypeService(PayrollHttpClient httpClient)
Parameters
Type Name Description
PayrollHttpClient httpClient

Methods

CreateAsync<T>(RegulationServiceContext, T)

Declaration
public virtual Task<T> CreateAsync<T>(RegulationServiceContext context, T wageType) where T : class, IWageType
Parameters
Type Name Description
RegulationServiceContext context
T wageType
Returns
Type Description
Task<T>
Type Parameters
Name Description
T

DeleteAsync(RegulationServiceContext, int)

Declaration
public virtual Task DeleteAsync(RegulationServiceContext context, int wageTypeId)
Parameters
Type Name Description
RegulationServiceContext context
int wageTypeId
Returns
Type Description
Task

GetAsync<T>(RegulationServiceContext, decimal, CultureInfo)

Declaration
public virtual Task<T> GetAsync<T>(RegulationServiceContext context, decimal wageTypeNumber, CultureInfo culture) where T : class, IWageType
Parameters
Type Name Description
RegulationServiceContext context
decimal wageTypeNumber
CultureInfo culture
Returns
Type Description
Task<T>
Type Parameters
Name Description
T

GetAsync<T>(RegulationServiceContext, int)

Declaration
public virtual Task<T> GetAsync<T>(RegulationServiceContext context, int wageTypeId) where T : class, IWageType
Parameters
Type Name Description
RegulationServiceContext context
int wageTypeId
Returns
Type Description
Task<T>
Type Parameters
Name Description
T

GetAsync<T>(RegulationServiceContext, string)

Declaration
public virtual Task<T> GetAsync<T>(RegulationServiceContext context, string name) where T : class, IWageType
Parameters
Type Name Description
RegulationServiceContext context
string name
Returns
Type Description
Task<T>
Type Parameters
Name Description
T

QueryAsync<T>(RegulationServiceContext, Query)

Declaration
public virtual Task<List<T>> QueryAsync<T>(RegulationServiceContext context, Query query = null) where T : class, IWageType
Parameters
Type Name Description
RegulationServiceContext context
Query query
Returns
Type Description
Task<List<T>>
Type Parameters
Name Description
T

QueryCountAsync(RegulationServiceContext, Query)

Declaration
public virtual Task<long> QueryCountAsync(RegulationServiceContext context, Query query = null)
Parameters
Type Name Description
RegulationServiceContext context
Query query
Returns
Type Description
Task<long>

QueryResultAsync<T>(RegulationServiceContext, Query)

Declaration
public virtual Task<QueryResult<T>> QueryResultAsync<T>(RegulationServiceContext context, Query query = null) where T : class, IWageType
Parameters
Type Name Description
RegulationServiceContext context
Query query
Returns
Type Description
Task<QueryResult<T>>
Type Parameters
Name Description
T

RebuildAsync(RegulationServiceContext, int)

Declaration
public virtual Task RebuildAsync(RegulationServiceContext context, int wageTypeId)
Parameters
Type Name Description
RegulationServiceContext context
int wageTypeId
Returns
Type Description
Task

UpdateAsync<T>(RegulationServiceContext, T)

Declaration
public virtual Task UpdateAsync<T>(RegulationServiceContext context, T wageType) where T : class, IWageType
Parameters
Type Name Description
RegulationServiceContext context
T wageType
Returns
Type Description
Task
Type Parameters
Name Description
T

Implements

IWageTypeService
ICrudService<TModel, TContext, TQuery>
ICreateService<TModel, TContext, TQuery>
IReadService<TModel, TContext, TQuery>

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