/// <summary>
        /// Returns a prepared statement to execute for a given name of the stored procedure.
        /// </summary>
        /// <param name="StoredProcedureName"></param>
        protected virtual string LookUpText(string storedProcedureName)
        {
            string statement = OxyData.Data.VirtualStoredProcedureStore.GetText(storedProcedureName);

            if (ContainsStatementModifiers)
            {
                statement = DbStatementModificationManager.ModifyDbStatement(storedProcedureName, statement);
            }
            return(statement);
        }
        public void AddToModificationManager()
        {
            if (IsValid)
            {
                StatementModificationInfo smInfo = DbStatementModificationManager.GetModificationInfo();
                if (smInfo == null)
                {
                    smInfo = new StatementModificationInfo();
                }

                smInfo.Modifiers[ModificationTypeKey] = this;
                DbStatementModificationManager.ExposeModificationInfoDataProvider(smInfo);
            }
        }