Table of Contents

Class MasterDataServiceBuilder

Namespace
JJMasterData.Commons.Configuration
Assembly
JJMasterData.Commons.dll
public class MasterDataServiceBuilder
Inheritance
MasterDataServiceBuilder
Inherited Members

Constructors

MasterDataServiceBuilder(IServiceCollection)

public MasterDataServiceBuilder(IServiceCollection services)

Parameters

services IServiceCollection

Properties

Services

public IServiceCollection Services { get; }

Property Value

IServiceCollection

Methods

WithBackgroundTaskManager<T>()

public MasterDataServiceBuilder WithBackgroundTaskManager<T>() where T : class, IBackgroundTaskManager

Returns

MasterDataServiceBuilder

Type Parameters

T

WithConnectionStrings(List<ConnectionString>)

public MasterDataServiceBuilder WithConnectionStrings(List<ConnectionString> connectionStrings)

Parameters

connectionStrings List<ConnectionString>

Returns

MasterDataServiceBuilder

WithEntityProvider(string, DataAccessProvider)

public MasterDataServiceBuilder WithEntityProvider(string connectionString, DataAccessProvider provider)

Parameters

connectionString string
provider DataAccessProvider

Returns

MasterDataServiceBuilder

WithEntityProvider<T>()

public MasterDataServiceBuilder WithEntityProvider<T>() where T : EntityProviderBase

Returns

MasterDataServiceBuilder

Type Parameters

T

WithEntityRepository(Func<IServiceProvider, IEntityRepository>)

public MasterDataServiceBuilder WithEntityRepository(Func<IServiceProvider, IEntityRepository> implementationFactory)

Parameters

implementationFactory Func<IServiceProvider, IEntityRepository>

Returns

MasterDataServiceBuilder

WithEntityRepository<T>()

public MasterDataServiceBuilder WithEntityRepository<T>() where T : IEntityRepository

Returns

MasterDataServiceBuilder

Type Parameters

T