public void AddParameter(DBParam param) { if (param.CheckConsistency()) { this.myParams.Add(param); } }
public void AddParameter(string Name, object Value, DbType Type, int Size) { DBParam item = new DBParam(Name, Value, Type, Size); if (item.CheckConsistency()) { this.myParams.Add(item); } }