Show / Hide Table of Contents

Class LogService

Inheritance
object
ServiceBase
LogService
Implements
ILogService
ICrudService<ILog, TenantServiceContext, Query>
ICreateService<ILog, TenantServiceContext, Query>
IReadService<ILog, TenantServiceContext, 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 LogService : ServiceBase, ILogService, ICrudService<ILog, TenantServiceContext, Query>, ICreateService<ILog, TenantServiceContext, Query>, IReadService<ILog, TenantServiceContext, Query>

Constructors

LogService(PayrollHttpClient)

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

Methods

CreateAsync<T>(TenantServiceContext, T)

Declaration
public virtual Task<T> CreateAsync<T>(TenantServiceContext context, T log) where T : class, ILog
Parameters
Type Name Description
TenantServiceContext context
T log
Returns
Type Description
Task<T>
Type Parameters
Name Description
T

DeleteAsync(TenantServiceContext, int)

Declaration
public virtual Task DeleteAsync(TenantServiceContext context, int logId)
Parameters
Type Name Description
TenantServiceContext context
int logId
Returns
Type Description
Task

GetAsync<T>(TenantServiceContext, int)

Declaration
public virtual Task<T> GetAsync<T>(TenantServiceContext context, int logId) where T : class, ILog
Parameters
Type Name Description
TenantServiceContext context
int logId
Returns
Type Description
Task<T>
Type Parameters
Name Description
T

QueryAsync<T>(TenantServiceContext, Query)

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

QueryCountAsync(TenantServiceContext, Query)

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

QueryResultAsync<T>(TenantServiceContext, Query)

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

UpdateAsync<T>(TenantServiceContext, T)

Declaration
public virtual Task UpdateAsync<T>(TenantServiceContext context, T log) where T : class, ILog
Parameters
Type Name Description
TenantServiceContext context
T log
Returns
Type Description
Task
Type Parameters
Name Description
T

Implements

ILogService
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