Click or drag to resize
QuerySpecExtensionMethodsSelectT, U Method (DynamicQuery)
Specifies the projection of the query specified, making it a typed dynamic query. It creates the projection from the two type arguments given.

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: (5.3.0)
public static DynamicQuery<T> Select<T, U>(
	this DynamicQuery query
where T : new()
where U : class


Type: SD.LLBLGen.Pro.QuerySpecDynamicQuery
The query to specify the select for.

Type Parameters

T is the type of the return class which has to be filled.
the type of the fields creation class, e.g. CustomerFields

Return Value

Type: DynamicQueryT
The specified query with a typed projection

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DynamicQuery. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also