Creates a new connector for the pool.
public Func<DbConnector>? Create { get; set; }
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.