Skip to main content
A newer version of this page is available. .

PostgreSqlConnectionProvider Fields

Implements data-aware operations for working with a PostgreSQL database.
Name Description
DefaultCommandTimeout Specifies the timeout value passed to the IDbCommand.CommandTimeout property of each created command, in seconds. Inherited from ConnectionProviderSql.
EnableConnectionStringArgumentEscaping static Inherited from ConnectionProviderSql.
GlobalDefaultCommandTimeout static Specifies the timeout value passed to the IDbCommand.CommandTimeout property, in seconds. Can be overridden by the ConnectionProviderSql.DefaultCommandTimeout field. The default is 300. Inherited from ConnectionProviderSql.
GlobalUseLegacyGuidSupport static Specifies the default GUID mapping mode for all PostgreSqlConnectionProvider instances. Set this field to true to map GUIDs to CHAR(36) columns or set it to false to map to the UUID columns (requires Npgsql v3.1.0). To specify the character set for a specific PostgreSqlConnectionProvider instance, use the UseLegacyGuidSupport field instead.
IdentityColumnMagicName static Inherited from ConnectionProviderSql.
MaxDeadLockRetryDelayMilliseconds static Inherited from ConnectionProviderSql.
MaxDeadLockTryCount static Inherited from ConnectionProviderSql.
MaximumStringSize This member supports the internal infrastructure and is not intended to be used directly from your code.
ObjectsOwner This member supports the internal infrastructure and is not intended to be used directly from your code.
UseLegacyGuidSupport Specifies the default GUID mapping mode for the current PostgreSqlConnectionProvider instance. Set this field to true to map GUIDs to CHAR(36) columns or set it to false to map to the UUID columns (requires Npgsql v3.1.0). When this field is set to null), the GlobalUseLegacyGuidSupport value is used. When both values are null, the UUID columns are used.
UseLegacyTimeSpanSupport static Inherited from ConnectionProviderSql.
XpoProviderTypeParameterName static Returns a parameter name used to denote a provider type in a connection string. The default value is “XpoProvider”. Inherited from DataStoreBase.
XpoProviderTypeString Gets the name of the current connection provider. This name is used internally when generating a connection string via the PostgreSqlConnectionProvider.GetConnectionString metho
See Also