You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
442 B
23 lines
442 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace FLocal.MySQLConnector {
|
|
class ParamsHolder {
|
|
|
|
public Dictionary<string, string> data = new Dictionary<string,string>();
|
|
|
|
private int index = 1;
|
|
|
|
public string Add(string value) {
|
|
lock(this) {
|
|
string name = "param" + index;
|
|
this.data.Add(name, value);
|
|
this.index++;
|
|
return name;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
|