Show / Hide Table of Contents

Interface ILookupSetService

Payroll lookup set service

Inherited Members
ICreateService<ILookupSet, RegulationServiceContext, Query>.CreateAsync<T>(RegulationServiceContext, T)
ICreateService<ILookupSet, RegulationServiceContext, Query>.DeleteAsync(RegulationServiceContext, int)
IReadService<ILookupSet, RegulationServiceContext, Query>.QueryAsync<T>(RegulationServiceContext, Query)
IReadService<ILookupSet, RegulationServiceContext, Query>.QueryCountAsync(RegulationServiceContext, Query)
IReadService<ILookupSet, RegulationServiceContext, Query>.QueryResultAsync<T>(RegulationServiceContext, Query)
IReadService<ILookupSet, RegulationServiceContext, Query>.GetAsync<T>(RegulationServiceContext, int)
Namespace: PayrollEngine.Client.Service
Assembly: PayrollEngine.Client.Core.dll
Syntax
public interface ILookupSetService : ICreateService<ILookupSet, RegulationServiceContext, Query>, IReadService<ILookupSet, RegulationServiceContext, Query>

Methods

CreateAsync<T>(RegulationServiceContext, IEnumerable<T>)

Create multiple lookup sets

Declaration
Task CreateAsync<T>(RegulationServiceContext context, IEnumerable<T> lookupSets) where T : class, ILookupSet
Parameters
Type Name Description
RegulationServiceContext context

The service context

IEnumerable<T> lookupSets

The lookup sets

Returns
Type Description
Task

New created lookup

Type Parameters
Name Description
T

GetAsync<T>(RegulationServiceContext, string)

Get lookup set by name

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

The service context

string name

The lookup name

Returns
Type Description
Task<T>

The lookup set, null if missing

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