View Single Post
  #4 (permalink)  
Old March 20th, 2015, 09:07 AM
mmorgan30 mmorgan30 is offline
Friend of Wrox
Points: 528, Level: 8
Points: 528, Level: 8 Points: 528, Level: 8 Points: 528, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2014
Posts: 136
Thanks: 1
Thanked 10 Times in 10 Posts
Default

All 3 of these connection strings are for entity frame work context. Since the are in the web.cong and typically added when you add an entity model, I am assuming you have models? Why not use the context associated with the connection string and instead of a sqlconnection and sqlcommand