public virtual OracleQueryParameter GetPropertyByTypeAndName(OracleQueryParameterDirection direction, string name) { foreach (OracleQueryParameter qp in Parameters) { if (qp.Direction == direction && qp.Name == name) { return(qp); } } return(null); }
public virtual OracleQueryParameter GetPropertyByTypeAndSequence(OracleQueryParameterDirection direction, int sequence) { foreach (OracleQueryParameter qp in Parameters) { if (qp.Direction == direction && qp.Sequence == sequence) { return(qp); } } return(null); }