Show / Hide Table of Contents

Interface ITenantService

Inherited Members
ICrudService<ITenant, RootServiceContext, Query>.UpdateAsync<T>(RootServiceContext, T)
ICreateService<ITenant, RootServiceContext, Query>.CreateAsync<T>(RootServiceContext, T)
ICreateService<ITenant, RootServiceContext, Query>.DeleteAsync(RootServiceContext, int)
IReadService<ITenant, RootServiceContext, Query>.QueryAsync<T>(RootServiceContext, Query)
IReadService<ITenant, RootServiceContext, Query>.QueryCountAsync(RootServiceContext, Query)
IReadService<ITenant, RootServiceContext, Query>.QueryResultAsync<T>(RootServiceContext, Query)
IReadService<ITenant, RootServiceContext, Query>.GetAsync<T>(RootServiceContext, int)
IAttributeService<RootServiceContext>.GetAttributeAsync(RootServiceContext, int, string)
IAttributeService<RootServiceContext>.SetAttributeAsync(RootServiceContext, int, string, string)
IAttributeService<RootServiceContext>.DeleteAttributeAsync(RootServiceContext, int, string)
Namespace: PayrollEngine.Client.Service
Assembly: PayrollEngine.Client.Core.dll
Syntax
public interface ITenantService : ICrudService<ITenant, RootServiceContext, Query>, ICreateService<ITenant, RootServiceContext, Query>, IReadService<ITenant, RootServiceContext, Query>, IAttributeService<RootServiceContext>

Methods

ExecuteReportQueryAsync(int, string, string, Dictionary<string, string>)

Declaration
Task<DataTable> ExecuteReportQueryAsync(int tenantId, string methodName, string culture, Dictionary<string, string> parameters = null)
Parameters
Type Name Description
int tenantId
string methodName
string culture
Dictionary<string, string> parameters
Returns
Type Description
Task<DataTable>

GetAsync<T>(RootServiceContext, string)

Declaration
Task<T> GetAsync<T>(RootServiceContext context, string identifier) where T : class, ITenant
Parameters
Type Name Description
RootServiceContext context
string identifier
Returns
Type Description
Task<T>
Type Parameters
Name Description
T

GetSharedRegulationsAsync<T>(int, int?)

Declaration
Task<List<T>> GetSharedRegulationsAsync<T>(int tenantId, int? divisionId) where T : class, IRegulation
Parameters
Type Name Description
int tenantId
int? divisionId
Returns
Type Description
Task<List<T>>
Type Parameters
Name Description
T

GetSystemScriptActionPropertiesAsync<TAction>(int, FunctionType, bool)

Declaration
Task<List<TAction>> GetSystemScriptActionPropertiesAsync<TAction>(int tenantId, FunctionType functionType = FunctionType.All, bool readOnly = true) where TAction : ActionInfo
Parameters
Type Name Description
int tenantId
FunctionType functionType
bool readOnly
Returns
Type Description
Task<List<TAction>>
Type Parameters
Name Description
TAction

GetSystemScriptActionsAsync<TAction>(int, FunctionType)

Declaration
Task<List<TAction>> GetSystemScriptActionsAsync<TAction>(int tenantId, FunctionType functionType = FunctionType.All) where TAction : ActionInfo
Parameters
Type Name Description
int tenantId
FunctionType functionType
Returns
Type Description
Task<List<TAction>>
Type Parameters
Name Description
TAction

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