public void AddParameters(string paramName, object objValue) { IDbDataParameter param = DBManagerFactory.GetParameter(this.providerType); param.ParameterName = paramName; param.Value = objValue; param.Direction = ParameterDirection.Input; idbParameters.Add(param); }
public void AddParameters(string paramName, ParameterDirection direction, DbType type, object objValue = null) { IDbDataParameter param = DBManagerFactory.GetParameter(this.providerType); param.ParameterName = paramName; param.Value = objValue; param.Direction = direction; param.DbType = type; idbParameters.Add(param); }