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 NewCommand(string commandText, LuaSqlConnection connection, LuaSqlTransaction transaction)
 {
     return(new LuaSqlCommand(commandText, connection, transaction));
 }
Example #3
0
 public LuaSqlTransaction(MySqlTransaction transaction, LuaSqlConnection sqlConnection)
 {
     Transaction = transaction;
     Connection  = sqlConnection;
 }