Class PostgreSqlConfigurationBuilderExtensions
Inheritance
System.Object
PostgreSqlConfigurationBuilderExtensions
Namespace: Steeltoe.Connectors.PostgreSql
Assembly: Steeltoe.Connectors.dll
Syntax
public static class PostgreSqlConfigurationBuilderExtensions : object
Methods
| Edit this page View SourceConfigurePostgreSql(IConfigurationBuilder)
Configures the connection string for a PostgreSQL database by merging settings from appsettings.json with cloud service bindings.
Declaration
public static IConfigurationBuilder ConfigurePostgreSql(this IConfigurationBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
IConfigurationBuilder | builder | The |
Returns
Type | Description |
---|---|
IConfigurationBuilder | The incoming |
ConfigurePostgreSql(IConfigurationBuilder, Nullable<Action<ConnectorConfigureOptionsBuilder>>)
Configures the connection string for a PostgreSQL database by merging settings from appsettings.json with cloud service bindings.
Declaration
public static IConfigurationBuilder ConfigurePostgreSql(this IConfigurationBuilder builder, Action<ConnectorConfigureOptionsBuilder>? configureAction)
Parameters
Type | Name | Description |
---|---|---|
IConfigurationBuilder | builder | The |
System.Nullable<Action<ConnectorConfigureOptionsBuilder>> | configureAction | An optional delegate to configure this connector. |
Returns
Type | Description |
---|---|
IConfigurationBuilder | The incoming |