コード例 #1
0
 protected virtual void CreateConnection(NpgsqlConnectionStringBuilder builder, out NpgsqlConnection connection, IContext ctx = default)
 {
     builder.EnsureNotNull(nameof(builder));
     //
     ctx.ThrowIfCancellationRequested();
     connection = new NpgsqlConnection(connectionString: builder.ConnectionString);
 }