Class SQLDataAccessExtensions
Extensions to add SQL data access layer dependencies.
Inherited Members
Namespace: CrashCABN.DataAccess
Assembly: CrashCABN.DataAccess.SQL.dll
Syntax
public static class SQLDataAccessExtensions
Methods
View SourceAddSQLDataAccess(IServiceCollection, IConfiguration)
Add SQL dependencies to DI service collection.
Declaration
public static IServiceCollection AddSQLDataAccess(this IServiceCollection services, IConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
IServiceCollection | services | Dependency injection service collection. |
IConfiguration | configuration |
Returns
Type | Description |
---|---|
IServiceCollection | An IServiceCollection object. |