Click or drag to resize

QueryableExtensionMethodsForDTOs Class

Class with extension methods working on Queryable which are meant for DTO projections.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.LinqSupportClasses.DTOProjectionHelpersQueryableExtensionMethodsForDTOs

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses.DTOProjectionHelpers
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public static class QueryableExtensionMethodsForDTOs

The QueryableExtensionMethodsForDTOs type exposes the following members.

Methods
  NameDescription
Public methodStatic memberOptionalOrderByT
Part of LLBLGen Pro's functionality to project entity queries to generated DTO classes. Don't use this method in your own code. Extension method for enumerables in DTO projections which have been converted to queryables to append an orderby clause conditionally: if it's null, no call to OrderBy is appended, otherwise a call to OrderBy with the lambda provided is appended. This is done at evaluation time, hence this method's body isn't used as the call to this method is expected to be done inside a method which builds a projection.
Public methodStatic memberOptionalWhereT
Part of LLBLGen Pro's functionality to project entity queries to generated DTO classes. Don't use this method in your own code. Extension method for enumerables in DTO projections which have been converted to queryables to append a where clause conditionally: if it's null, no call to Where is appended, otherwise a call to Where with the lambda provided is appended. This is done at evaluation time, hence this method's body isn't used as the call to this method is expected to be done inside a method which builds a projection.
Top
See Also