Show / Hide Table of Contents

Class ReportParameterService

Inheritance
object
ServiceBase
ReportParameterService
Implements
IReportParameterService
ICrudService<IReportParameter, ReportServiceContext, Query>
ICreateService<IReportParameter, ReportServiceContext, Query>
IReadService<IReportParameter, ReportServiceContext, 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 ReportParameterService : ServiceBase, IReportParameterService, ICrudService<IReportParameter, ReportServiceContext, Query>, ICreateService<IReportParameter, ReportServiceContext, Query>, IReadService<IReportParameter, ReportServiceContext, Query>

Constructors

ReportParameterService(PayrollHttpClient)

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

Methods

CreateAsync<T>(ReportServiceContext, T)

Declaration
public virtual Task<T> CreateAsync<T>(ReportServiceContext context, T parameter) where T : class, IReportParameter
Parameters
Type Name Description
ReportServiceContext context
T parameter
Returns
Type Description
Task<T>
Type Parameters
Name Description
T

DeleteAsync(ReportServiceContext, int)

Declaration
public virtual Task DeleteAsync(ReportServiceContext context, int parameterId)
Parameters
Type Name Description
ReportServiceContext context
int parameterId
Returns
Type Description
Task

GetAsync<T>(ReportServiceContext, int)

Declaration
public virtual Task<T> GetAsync<T>(ReportServiceContext context, int parameterId) where T : class, IReportParameter
Parameters
Type Name Description
ReportServiceContext context
int parameterId
Returns
Type Description
Task<T>
Type Parameters
Name Description
T

GetAsync<T>(ReportServiceContext, string)

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

QueryAsync<T>(ReportServiceContext, Query)

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

QueryCountAsync(ReportServiceContext, Query)

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

QueryResultAsync<T>(ReportServiceContext, Query)

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

UpdateAsync<T>(ReportServiceContext, T)

Declaration
public virtual Task UpdateAsync<T>(ReportServiceContext context, T parameter) where T : class, IReportParameter
Parameters
Type Name Description
ReportServiceContext context
T parameter
Returns
Type Description
Task
Type Parameters
Name Description
T

Implements

IReportParameterService
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