Returns a query against the unit of work.

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

Syntax

C#
public static IQueryable<T> Query<T>(
	IUnitOfWork unitOfWork,
	string viewName
) where T : Entity
Visual Basic (Declaration)
Public Shared Function Query(Of T As Entity) ( _
	unitOfWork As IUnitOfWork, _
	viewName As String _
) As IQueryable(Of T)

Parameters

unitOfWork
Type: Mindscape.LightSpeed..::.IUnitOfWork
The unit of work.
viewName
Type: System..::.String
The view to query.

Type Parameters

T

Return Value

A query which may be enumerated to obtain the results.

See Also