DataServiceCollectionExtensions.AddSqlConnections method (1 of 2)
Adds the 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)
Adds the default IConnectionStrings and ISqlConnections interfaces.
public static void AddSqlConnections(this IServiceCollection services,
Action<ConnectionStringOptions> setupAction)
| parameter | description |
|---|---|
| services | The service collection. |
| setupAction | The setup action to manually modify connection strings. |