Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.34 KB

File metadata and controls

38 lines (26 loc) · 1.34 KB

DataServiceCollectionExtensions.AddSqlConnections method (1 of 2)

namespace: Serenity.Extensions.DependencyInjection   assemblySerenity.Net.Data

Adds default IConnectionStrings and ISqlConnections interfaces

public static void AddSqlConnections(this IServiceCollection services)
parameter description
services The service collection.

See Also


DataServiceCollectionExtensions.AddSqlConnections method (2 of 2)

namespace: Serenity.Extensions.DependencyInjection   assemblySerenity.Net.Data

Adds default IConnectionStrings and ISqlConnections interfaces

public static void AddSqlConnections(this IServiceCollection services, 
    Action<ConnectionStringOptions> setupAction)
parameter description
services The service collection.
setupAction Setup action to manually modify connection strings

See Also