Show / Hide Table of Contents

Class SoDatabaseServiceCollectionExtensions

Inheritance
object
SoDatabaseServiceCollectionExtensions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public static class SoDatabaseServiceCollectionExtensions

Methods

AddSoDatabase(IServiceCollection, IConfiguration, Action<NetServerLocalOptionsBuilder>)

Set up NetServer Local (SoDatabase). This is independent of SuperOffice.Configuration.ConfigFile.Services.DefaultMode.

Declaration
public static IServiceCollection AddSoDatabase(this IServiceCollection services, IConfiguration configuration, Action<NetServerLocalOptionsBuilder> builderAction = null)
Parameters
Type Name Description
IServiceCollection services

Service collection to configure

IConfiguration configuration
Action<NetServerLocalOptionsBuilder> builderAction

Optional override of default behaviour

Returns
Type Description
IServiceCollection
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top