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(
	Type entityType,
	string attribute
)
Visual Basic (Declaration)
Public Sub Add ( _
	entityType As Type, _
	attribute As String _
)

Parameters

entityType
Type: System..::.Type
The entity type (of which the alias will be determined from the alias mappings)
attribute
Type: System..::.String
The name of the field.

See Also