Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
when i create context from controller wizard it automatic create for me every thing i want to find out where connection string and how i can append it
Posted
Comments
TheRealSteveJudge 17-Dec-14 8:57am    
You would like to know where the connection string is stored?
King Fisher 17-Dec-14 14:49pm    
Web Config ;)

1 solution

when i create it with code first and so connection string section i found nothing
and when i debug context db i found connection string like this
"Data Source=.\\SQLEXPRESS;Initial Catalog=MvcApplication3.Models.dbContext;Integrated Security=True;MultipleActiveResultSets=True;Application Name=EntityFrameworkMUE"

and i found in db in sqlexpress is there away to change the behavior of entity wizard for connection

http://s16.postimg.org/ezy2evumd/New_Bitmap_Image_2.png


that what i mean by

entity wizard
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900