B
Bradley Plett
I have two questions that I hope I'm posting in the right area. I've
posted in the pgFoundry forums as well, in hopes that someone can
answer these.
I'm using the Npgsql .Net data provider for PostgreSQL
(http://pgfoundry.org/projects/npgsql/).
1) Has anyone already added support for this provider to the
Enterprise Library? If so, where can I get it? If not, how would I
go about it?
2) I am using the Enterprise Library's ExceptionHandling. When my
Npgsql connection fails, the exception handler in ExceptionHandling
blows up. I don't really know if this is a bug that should be
attributed to the Enterprise Library or to the Npgsql. Has anyone run
into this before? I've worked around it for now by modifying
ExceptionFormatter and putting a try..catch around "value =
property.GetValue(e, null);" (around line 175). This works, but I'm
far from certain this is the right way to do it.
Thanks!
Brad.
posted in the pgFoundry forums as well, in hopes that someone can
answer these.
I'm using the Npgsql .Net data provider for PostgreSQL
(http://pgfoundry.org/projects/npgsql/).
1) Has anyone already added support for this provider to the
Enterprise Library? If so, where can I get it? If not, how would I
go about it?
2) I am using the Enterprise Library's ExceptionHandling. When my
Npgsql connection fails, the exception handler in ExceptionHandling
blows up. I don't really know if this is a bug that should be
attributed to the Enterprise Library or to the Npgsql. Has anyone run
into this before? I've worked around it for now by modifying
ExceptionFormatter and putting a try..catch around "value =
property.GetValue(e, null);" (around line 175). This works, but I'm
far from certain this is the right way to do it.
Thanks!
Brad.