Example #1
0
 public LuaSqlCommand(string commandText, LuaSqlConnection connection, LuaSqlTransaction transaction)
 {
     _luaSqlConnection  = connection;
     _luaSqlTransaction = transaction;
     _command           = new MySqlCommand(commandText, _luaSqlConnection.SqlConnection, _luaSqlTransaction.Transaction);
     Parameters         = new LuaSqlParameters(_command);
 }
Example #2
0
 public LuaSqlCommand(string commandText)
 {
     _command   = new MySqlCommand(commandText);
     Parameters = new LuaSqlParameters(_command);
 }
Example #3
0
 public LuaSqlCommand()
 {
     _command   = new MySqlCommand();
     Parameters = new LuaSqlParameters(_command);
 }