Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Hardcoding of Provider Name #94

Closed
NicholasMurray opened this Issue Oct 7, 2011 · 2 comments

Comments

Projects
None yet
3 participants

Was trying to use MySQL with Massive and the following line in DynamicModel gave me a lot of pain ie keyword port not supported.

I would suggest that you change the line

var _providerName = "System.Data.SqlClient";

to

var _providerName = ConfigurationManager.ConnectionStrings[connectionStringName].ProviderName;

BTW Massive rocks!

Agreed. This would be a nice modification, if only so that it is not necessary to patch this every time I need to use SqlCe.

Contributor

robconery commented Oct 27, 2011

The core bits are SQL-specific. We have a MySQL flavor if that's what you use... but let's face it - it's .NET :)

@robconery robconery closed this Oct 27, 2011

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