Make SqlQuery.FillParams public

This commit is contained in:
UnknownShadow200 2020-10-11 19:25:24 +11:00
parent 2de0b53385
commit cf9d48d284
4 changed files with 2 additions and 5 deletions

View File

@ -18,7 +18,6 @@
permissions and limitations under the Licenses.
*/
using System;
using System.IO;
namespace MCGalaxy.Commands.World {
public class CmdCopyLVL : Command2 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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;