Massive is hard coded to use System.Data.SqlClient #75

Closed
sringel opened this Issue Aug 8, 2011 · 3 comments

2 participants

@sringel

Line 102 of the current commit is hard coded to System.Data.SqlClient. It should be reverted to the fix for Issue #4

var _providerName = "System.Data.SqlClient";

#4

var _providerName = ConfigurationManager.ConnectionStrings[connectionStringName].ProviderName;
if(String.IsNullOrEmpty(_providerName))
_providerName = "System.Data.SqlClient";
_factory = DbProviderFactories.GetFactory(_providerName);

@sringel

Breaking commit

4e1713b

@robconery
Collaborator

Cheers - the deal here is that Massive won't work with other providers without modification anyway - things like TOP and escapes etc all need customization. I'll readd the if statement - but it's kind of perfunctory.

@robconery robconery closed this Aug 9, 2011
@sringel

Thank You

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