Exemple #1
0
        public string Replace()
        {
            ocurrences = GetOcurrencesOldValue();

            Process();

            return(SQLQuery);
        }
        public string Replace()
        {
            ocurrences = OcurrencesOldValue();

            Process();

            return SQLQuery;
        }
        private void Process(string field)
        {
            position = new FieldPositionCondition(field);
            lastPositionFound = 0;

            while (ConditionHasField())
                GenerateNewPosition();

            position.Positions.Reverse();
        }
        private void Process(string field)
        {
            position          = new FieldPositionCondition(field);
            lastPositionFound = 0;

            while (ConditionHasField())
            {
                GenerateNewPosition();
            }

            position.Positions.Reverse();
        }