Exemplo n.º 1
0
        public questStatus Read(DbMgrTransaction trans, Quest.Functional.Logging.StoredProcedureLogId storedProcedureLogId, out Quest.Functional.Logging.StoredProcedureLog storedProcedureLog)
        {
            // Initialize
            questStatus status = null;

            storedProcedureLog = null;


            // Perform read.
            using (MasterPricingEntities dbContext = new MasterPricingEntities())
            {
                Quest.Services.Dbio.MasterPricing.StoredProcedureLogs _storedProcedureLog = null;
                status = read((MasterPricingEntities)trans.DbContext, storedProcedureLogId, out _storedProcedureLog);
                if (!questStatusDef.IsSuccess(status))
                {
                    return(status);
                }
                storedProcedureLog = new Quest.Functional.Logging.StoredProcedureLog();
                BufferMgr.TransferBuffer(_storedProcedureLog, storedProcedureLog);
            }
            return(new questStatus(Severity.Success));
        }