Last post May 29, 2012 09:19 AM by bklooste
May 29, 2012 01:10 AM|bklooste|LINK
Ok i have about 200 Dbs ( one for each customer) , and need to set a different connection string depending on the user ? How do i do this with DBDataController ?
At the moment in MVC i use a custom context provider .
May 29, 2012 05:07 AM|Mudasir.Khan|LINK
have a default DB which will have a Table which will 2 columns ClientID and DB name
after user is authenticated get the ClientID and pass the clientid to this and the DB from this table
May 29, 2012 09:10 AM|bklooste|LINK
Thats exactly what io have but how do i push it into DBControler ?
May 29, 2012 09:19 AM|bklooste|LINK
Got it , look like the old
override CreateDbContext is still there .,