Open carlos0202 opened 3 years ago
Sorry for a really late reply. Could you elaborate on the issue if it's still relevant?
Hey @carlos0202,
I guess TypeMapper
is the same for different queries. You can configure a created connection in a factory method provided during the initial setup:
services.AddDbConnectionFactory(
prv => new NpgsqlConnection(conStr){TypeMapper = { /* here */}} );
How can I use NpgSqlConnection.TypeMapper property to register NodaTime when getting connection using factory?
Thanks in advance for the help.