views:

18

answers:

1

Maybe this is a dumb question, but I don't know the answer. If I use MySQL Connector/Net, when I send SQL via ADO.NET, does my inline SQL get translated into code first and then sent to the database, or does it get sent as SQL text, and then the database engine has to translate it into code?

Or doesn't ADO.NET do a translation?

Or, if my thinking about this seems way off, please set me straight. Thanks.

+1  A: 

It gets sent as SQL and the database side is responsible for parsing and executing it.

Lloyd