R
rockdale
Well, I guess I did express myself very clearly.
I implemented the Ent Lib 2.0 data block against SQL database
successfully. The system now is a production system. But now we want to
migrate the database to MySQL. From mySQL website you can find
Connector/Net 1.0 and COnnector/ODBC, further more this link talks
aboout
http://dev.mysql.com/tech-resources/articles/dotnet/index.html#ADO.NET
different approaches to connect to mySQL.
My question is which one should I use so that my coding change is
minimum. I guess if I use ODBC then what I need to change is the
connectionstring in my web.config file. But ODBC may not be the best
choice since it is slow? For Connector/Net1.0 I am not sure wether Ent
Lib 2.0 support it or not.
My second question is how can I encrypt the connectionstring in my
web.config file to protect user credential and at the same time the ENt
Lib 2.0 can use the decrypted connectionstring. (where should I decrypt
the connectionstring?)
Sorry for the confusing first post
Thanks again
-rockdale
I implemented the Ent Lib 2.0 data block against SQL database
successfully. The system now is a production system. But now we want to
migrate the database to MySQL. From mySQL website you can find
Connector/Net 1.0 and COnnector/ODBC, further more this link talks
aboout
http://dev.mysql.com/tech-resources/articles/dotnet/index.html#ADO.NET
different approaches to connect to mySQL.
My question is which one should I use so that my coding change is
minimum. I guess if I use ODBC then what I need to change is the
connectionstring in my web.config file. But ODBC may not be the best
choice since it is slow? For Connector/Net1.0 I am not sure wether Ent
Lib 2.0 support it or not.
My second question is how can I encrypt the connectionstring in my
web.config file to protect user credential and at the same time the ENt
Lib 2.0 can use the decrypted connectionstring. (where should I decrypt
the connectionstring?)
Sorry for the confusing first post
Thanks again
-rockdale