[Mono-list] How do I configure DbProviderFactory?

Francisco Figueiredo Jr. fxjrlists@yahoo.com.br
Sun, 28 Nov 2004 21:09:28 -0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Erik LeBel wrote:
| hi Francisco,
|

Hi Erik,

| I'm not very familiar with this code, but the source
| says it uses the value of the 'name' field to identify
| the provider factory. In the snippets you provided
| this string should bew 'SqlClient Data Provider', and
| not 'System.Data.SqlClient'. You might want to change
| your GetFactory call to use this value instead.
|

Yeap, but from the document I saw this code, it says:

"[...] Invariant is the provider-invariant name that can be passed as
string to the DbProviderFactories class mentioned in the next paragraph.
[...]"

So the code seems to be right.

Thanks anyway, Erik.


- --
Regards,

Francisco Figueiredo Jr.
Membro Fundador do Projeto MonoBrasil - MonoBrasil Project Founder Member
http://monobrasil.softwarelivre.org



- -------------
"Science without religion is lame;
religion without science is blind."

~                  ~ Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQEVAwUBQapaqP7iFmsNzeXfAQJIagf/atVaoen1nprg5XUItWNuYEhgStPifnXY
flwBFHQubB62nKRkLes57v8J9fEZduOkrdOSPWxr/8/rONZSpvGhGj9OUtXWHA5a
g9MWEtqYQFicGhmlksC27OHo+nsTJ0bWvpS57OwgN6L+N+NBOm2THVfwbyXSoekB
TgMvtYxlMOJSRWdro2+hv+KVRCAlS44vSwuUnqCLPQIKCNy921xD8T+VA667//in
FMfjEE09hbRNaDglGzjWm+Cv8bdoYnv5akBc+1yb2Rb93R2WPUTHwRr4/Ik2OC57
GpQ9kSZ1J5EdkqKtVUKgHbR9kW2pX3g/YV1rou7sCdNKaNxBPU1Ztg==
=rfMR
-----END PGP SIGNATURE-----