C# Class Tortuga.Chain.Materializers.Materializer

This is the root base class for materializers. It is used when we need to strip away the generic type arguments.
Mostra file Open project: docevaad/Chain

Public Methods

Method Description
DesiredColumns ( ) : IReadOnlyList

Returns the list of columns the materializer would like to have.

If AutoSelectDesiredColumns is returned, the command builder is allowed to choose which columns to return. If NoColumns is returned, the command builder should omit the SELECT/OUTPUT clause.

Protected Methods

Method Description
OnExecutionTokenPrepared ( ExecutionTokenPreparedEventArgs e ) : void

Raises the E:ExecutionTokenPrepared event.

OnExecutionTokenPreparing ( ExecutionTokenPreparingEventArgs e ) : void

Raises the E:ExecutionTokenPreparing event.

Method Details

DesiredColumns() public method

Returns the list of columns the materializer would like to have.
If AutoSelectDesiredColumns is returned, the command builder is allowed to choose which columns to return. If NoColumns is returned, the command builder should omit the SELECT/OUTPUT clause.
public DesiredColumns ( ) : IReadOnlyList
return IReadOnlyList

OnExecutionTokenPrepared() protected method

Raises the E:ExecutionTokenPrepared event.
protected OnExecutionTokenPrepared ( ExecutionTokenPreparedEventArgs e ) : void
e Tortuga.Chain.Core.ExecutionTokenPreparedEventArgs The instance containing the event data.
return void

OnExecutionTokenPreparing() protected method

Raises the E:ExecutionTokenPreparing event.
protected OnExecutionTokenPreparing ( ExecutionTokenPreparingEventArgs e ) : void
e Tortuga.Chain.Core.ExecutionTokenPreparingEventArgs The instance containing the event data.
return void