public override void RemoveAt(int index) { NoSqlParameter p = GetParameter(index) as NoSqlParameter; if (p != null) { dic.Remove(p.ParameterName); } }
public override void Remove(object value) { NoSqlParameter p = value as NoSqlParameter; if (p != null && dic.ContainsKey(p.ParameterName)) { dic.Remove(p.ParameterName); } }
public override int Add(object value) { NoSqlParameter p = value as NoSqlParameter; if (p != null && !dic.ContainsKey(p.ParameterName)) { dic.Add(p.ParameterName, p); return(1); } return(0); }
public override bool Contains(object value) { NoSqlParameter p = value as NoSqlParameter; return(p != null && dic.ContainsKey(p.ParameterName)); }