Show / Hide Table of Contents

Interface ICreateService<TModel, TContext, TQuery>

Inherited Members
IReadService<TModel, TContext, TQuery>.QueryAsync<T>(TContext, TQuery)
IReadService<TModel, TContext, TQuery>.QueryCountAsync(TContext, TQuery)
IReadService<TModel, TContext, TQuery>.QueryResultAsync<T>(TContext, TQuery)
IReadService<TModel, TContext, TQuery>.GetAsync<T>(TContext, int)
Namespace: PayrollEngine.Client.Service
Assembly: PayrollEngine.Client.Core.dll
Syntax
public interface ICreateService<in TModel, in TContext, in TQuery> : IReadService<TModel, TContext, TQuery> where TContext : IServiceContext where TQuery : Query
Type Parameters
Name Description
TModel
TContext
TQuery

Methods

CreateAsync<T>(TContext, T)

Declaration
Task<T> CreateAsync<T>(TContext context, T obj) where T : class, TModel
Parameters
Type Name Description
TContext context
T obj
Returns
Type Description
Task<T>
Type Parameters
Name Description
T

DeleteAsync(TContext, int)

Declaration
Task DeleteAsync(TContext context, int objectId)
Parameters
Type Name Description
TContext context
int objectId
Returns
Type Description
Task

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