If I want to create a DataContext given a connection string (the worst case),
how do I know, when I type
"new DataContext("database=mydb")"
which DbLinq vendor should be used internally (I assume several vendors are
already registered, which is not a problem).
Even my solution (exposed a few messages ago), can not solve it in an unique
way. What if two vendors can handle a given connection string?
Require adding "provider=npgsql;" to start of connection string
"new DataContext("provider=npgsql;database=mydb")"
and remove this addition when passing conn string to connection creator?
ODBC drivers probably use this method, ODBC driver manager removes special
tokens.
Andrus.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---