src/Misc/EFTools/XmlCore/Model/Commands/Command.cs
/// <summary>
///     This explicit binding action gets called before
///     any invocation (PreInvoke/InvokeInternal/etc.). This is necessary
///     since some commands (such as Delete) may issue their own derived
///     PreInvoke before the base PreInvoke.
///     Binding allows callers to specify
///     how to bind the various properties of the command at the point in
///     time of invocation. This is useful when processing the command in
///     a batch of commands where references fed into the command, such as Entity
///     Types and Properties, may be disposed/deleted by the time the command is invoked.
/// </summary>
/// <param name="cpc"></param>
This explicit binding action gets called before
any invocation (PreInvoke/InvokeInternal/etc.). This is necessary
since some commands (such as Delete) may issue their own derived
PreInvoke before the base PreInvoke.
Binding allows callers to specify
how to bind the various properties of the command at the point in
time of invocation. This is useful when processing the command in
a batch of commands where references fed into the command, such as Entity
Types and Properties, may be disposed/deleted by the time the command is invoked.
This explicit binding action gets called before any invocation ( PreInvoke / InvokeInternal / etc . ) . This is necessary since some commands ( such as Delete ) may issue their own derived PreInvoke before the base PreInvoke . Binding allows callers to specify how to bind the various properties of the command at the point in time of invocation . This is useful when processing the command in a batch of commands where references fed into the command such as Entity Types and Properties may be disposed / deleted by the time the command is invoked .
internal bool Bind(CommandProcessorContext cpc)
        {
            if (_bindingAction != null)
            {
                var isBound = _bindingAction(this, cpc);
                if (isBound)
                {
                    _commandStatus = CommandStatusValues.Bound;
                }
                return isBound;
            }
            return true;
        }
internal bool Bind ( CommandProcessorContext cpc ) { if ( _bindingAction != null ) { var isBound = _bindingAction ( this , cpc ) ; if ( isBound ) { _commandStatus = CommandStatusValues . Bound ; } return isBound ; } return true ; }
This explicit binding action gets called before
any invocation (PreInvoke/InvokeInternal/etc.).
This explicit binding action gets called before any invocation ( PreInvoke / InvokeInternal / etc . ) .
cpc
CommandProcessorContext
None