mvording
07-26-2007, 08:41 PM
Hello:
I would like to use the framework with SQL Server.
In the current apps I work with depending on which customer the web user logs in as, the database connection will be different, for the same website. Currently the connectionstrings are loaded into a dictionary keyed by customer.
Is there an easy way to extend the Sprint.Net data provider for sql server 2005 to handle lookup of a connection string based on some key, instead of from a config entry? Or is it a better approach to write this in another class that somehow tells the provider which connection to use?
Thank you for your patience, I haven't dug deep into the framework details yet!
Sincerely,
Matt
I would like to use the framework with SQL Server.
In the current apps I work with depending on which customer the web user logs in as, the database connection will be different, for the same website. Currently the connectionstrings are loaded into a dictionary keyed by customer.
Is there an easy way to extend the Sprint.Net data provider for sql server 2005 to handle lookup of a connection string based on some key, instead of from a config entry? Or is it a better approach to write this in another class that somehow tells the provider which connection to use?
Thank you for your patience, I haven't dug deep into the framework details yet!
Sincerely,
Matt