Reference > Configuration > Runtime

Execution Pipelines

Configure options for managing the workflow of assembling and executing SQL statements. It is very rare, or very advanced use cases, that you would need to replace the default execution pipelines.

Generically specify type

Syntax

Use<T>()

Arguments

T
The generic parameter that specifies the type that implements `IQueryExecutionPipelineFactory`. `T` must have a public parameterless constructor.
syntax examples

Use a factory

Syntax

Use({factory}[,{configure_types}])

Arguments

factory
A factory responsible for creating query execution pipelines.
configure_types
A delegate that enables configuration of specific execution pipelines (select, insert, etc.).
syntax examples

Configure pipelines

Syntax

ForPipelineTypes({configure_types})

Arguments

configure_types
A delegate that enables configuration of specific execution pipelines (select, insert, etc.).
syntax examples

Generically specify a type for a specific pipeline

Syntax

ForPipelineType<T>().Use<TPipeline>()

Alternate Syntax

  • ForSelect().Use<TPipeline>()
    
  • ForInsert().Use<TPipeline>()
    
  • ForUpdate().Use<TPipeline>()
    
  • ForDelete().Use<TPipeline>()
    

Arguments

T
Specify a the type of execution pipeline to use for a specific query type.
TPipeline
The type of execution pipeline to use for `T`. `TPipeline` must have a public parameterless constructor.

Use a factory for a specific pipeline

Syntax

ForPipelineType<T>().Use({factory})

Alternate Syntax

  • ForSelect().Use({factory})
    
  • ForInsert().Use({factory})
    
  • ForUpdate().Use({factory})
    
  • ForDelete().Use({factory})
    

Arguments

T
Specify a the type of execution pipeline to use for a specific query type.
factory
A delegate that returns an instance of a type that implements `T`
syntax examples
Previous
Database Connections

© 2024 dbExpression. All rights reserved.