DbConnectorPoolSettings.Create property

Creates a new connector for the pool.

public Func<DbConnector>? Create { get; set; }

Remarks

The created connector is wrapped in a connector that stores the actual connector in the pool when disposed. Since the advantage of a connector pool is keeping database connections open, be sure to use AutoOpen (and optionally LazyOpen) when creating the connector.

See Also