mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-19 04:07:10 -04:00
Make SqlQuery.FillParams public
This commit is contained in:
parent
2de0b53385
commit
cf9d48d284
@ -18,7 +18,6 @@
|
||||
permissions and limitations under the Licenses.
|
||||
*/
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
namespace MCGalaxy.Commands.World {
|
||||
public class CmdCopyLVL : Command2 {
|
||||
|
@ -16,8 +16,6 @@
|
||||
permissions and limitations under the Licenses.
|
||||
*/
|
||||
using System;
|
||||
using System.IO;
|
||||
using MCGalaxy.SQL;
|
||||
|
||||
namespace MCGalaxy.Commands.World {
|
||||
public sealed class CmdDeleteLvl : Command2 {
|
||||
|
@ -16,7 +16,6 @@
|
||||
permissions and limitations under the Licenses.
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MCGalaxy.Commands.World {
|
||||
public sealed class CmdRenameLvl : Command2 {
|
||||
|
@ -59,7 +59,8 @@ namespace MCGalaxy.SQL {
|
||||
}
|
||||
|
||||
|
||||
internal static void FillParams(IDbCommand cmd, object[] parameters) {
|
||||
/// <summary> Adds IDbDataParameter for each argument to the given command. </summary>
|
||||
public static void FillParams(IDbCommand cmd, object[] parameters) {
|
||||
if (parameters == null || parameters.Length == 0) return;
|
||||
IDatabaseBackend db = Database.Backend;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user