Dmkproject Dmk

Dmkproject Dmk

  • NA
  • 1
  • 496

Asp.net mvc updating repository class.

Jun 2 2016 2:58 AM
  I want call connection string dynamically without mofifying connection string in web config.As i am creating project for SAAS.So i can handle multiple users request with multiple databases.
 
I have tried to update it by passing variable but it showing error.So please let me know the righ t way.Thanks in advance.
 
 
 
My code:
string name="";
db_hrEntities context = new db_hrEntities(name); Now this name variable i cant paas.
 

Answers (1)