Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Materializers Namespace
Tortuga.Chain.Metadata Namespace

ConstructibleMaterializer<(Of <(<'TCommand, TParameter, TResult, TObject>)>)>..::..DesiredColumns Method

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

Namespace:  Tortuga.Chain.Materializers
Assembly:  Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)

Syntax


public IReadOnlyList<string> DesiredColumns()
Public Function DesiredColumns As IReadOnlyList(Of String)
public:
IReadOnlyList<String^>^ DesiredColumns()

Return Value

IReadOnlyList<System.String>.

Exceptions


ExceptionCondition
Tortuga.Chain..::..MappingException Cannot find a constructor on {desiredType.Name} with the types [{types}]

Remarks


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.