Deveel.Data.Sql.Statements.LoopStatement.ExecuteBlock C# (CSharp) Method

ExecuteBlock() protected method

protected ExecuteBlock ( ExecutionContext context ) : void
context ExecutionContext
return void
        protected override void ExecuteBlock(ExecutionContext context)
        {
            BeforeLoop(context);

            while (Loop(context)) {
                var loopBlock = context.NewBlock(this);

                if (CanExecute(loopBlock))
                    base.ExecuteBlock(loopBlock);

                AfterLoop(context);
            }
        }