예제 #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);
 }
예제 #2
0
 public LuaSqlCommand NewCommand(string commandText, LuaSqlConnection connection, LuaSqlTransaction transaction)
 {
     return(new LuaSqlCommand(commandText, connection, transaction));
 }