ChainableExtensions.With<TChain> method
namespace: Serenity assembly: Serenity.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
- class TChain
- interface IChainable
- class ChainableExtensions