protected override bool ExecuteDataProcessingProc()
        {
            int success;

            using (var context = new WoolworthsDBDataContext())
            {
                context.CommandTimeout = CommandTimeoutInSeconds.Value;
                success = (int)context.p_ImportAssortment(MasterLogId);
            }

            if (success == 0) return false;
            else if (success == 1) return true;
            else throw new ArgumentOutOfRangeException("success", "Stored Proc p_ImportAssortment returned int value that that was not equal to 1 or 0");
        }
        protected override bool ExecuteDataProcessingProc()
        {
            int success;

            using (var context = new WoolworthsDBDataContext())
            {
                context.CommandTimeout = CommandTimeoutInSeconds.Value;
                success = (int)context.p_ImportAssortment(MasterLogId);
            }

            if (success == 0)
            {
                return(false);
            }
            else if (success == 1)
            {
                return(true);
            }
            else
            {
                throw new ArgumentOutOfRangeException("success", "Stored Proc p_ImportAssortment returned int value that that was not equal to 1 or 0");
            }
        }