ChainableExtensions.With<TChain> method

namespace: Serenity   assemblySerenity.Net.Data

Allows to reference the call chain object itself without breaking a call chain.

public static TChain With<TChain>(this TChain chain, Action<TChain> action)
    where TChain : IChainable
parameter description
chain Chaining object
action An action that will be called with the chain object as parameter.

Return Value

The query itself.

See Also