ProviderName can be pulled from connectionstring config item, if it exists. #83

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

Was working through you MVC3 series and was having a problem using SqlCE. The provider name was it. Let me know what you think.

Contributor

robconery commented Sep 9, 2011

Somehow the diff is completely thrashed. I can't tell what you did. Closing for now...

@robconery robconery closed this Sep 9, 2011

Probably user error on my behalf. Maybe I need to rewatch your git training
screencast. :) Anyway, it's simple one line change.

var _providerName =
ConfigurationManager.ConnectionStrings[connectionStringName].ProviderName
?? "System.Data.SqlClient";

Just so you know. Guess I'll refork and try again.

On Fri, Sep 9, 2011 at 3:24 AM, Rob Conery <
reply@reply.github.com>wrote:

Somehow the diff is completely thrashed. I can't tell what you did. Closing
for now...

Reply to this email directly or view it on GitHub:
robconery#83 (comment)

A'braham Barakhyahu
Senior Web Developer
http://www.linkedin.com/in/AbrahamBarakhyahu
phone: (804) 592-1392
efax: (815) 425-0569

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment