Adds a field to the projection by name including a scope for the entity mapping which this identifier belongs to. This is a shortcut for adding an IdentifierExpression for the field.

Namespace:  Mindscape.LightSpeed.Querying
Assembly:  Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
public void Add<TEntity>(
	string attribute
) where TEntity : Entity
Visual Basic (Declaration)
Public Sub Add(Of TEntity As Entity) ( _
	attribute As String _
)

Parameters

attribute
Type: System..::.String
The name of the field.

Type Parameters

TEntity
The entity type (of which the alias will be determined from the alias mappings)

See Also