C# 클래스 Rock.Reporting.SelectExpressionExtractor

Helper class than can extract the first inner SELECT from an IQueryable. Useful for building DataSelect expressions for Reporting
파일 보기 프로젝트 열기: NewSpring/Rock

공개 메소드들

메소드 설명
Extract ( IQueryable qry, MemberExpression propertyExpression, string parameterName ) : Expression

Extracts the first inner SELECT from an IQueryable. Useful for building DataSelect expressions for Reporting

메소드 상세

Extract() 공개 정적인 메소드

Extracts the first inner SELECT from an IQueryable. Useful for building DataSelect expressions for Reporting
public static Extract ( IQueryable qry, MemberExpression propertyExpression, string parameterName ) : Expression
qry IQueryable The qry.
propertyExpression System.Linq.Expressions.MemberExpression The property expression.
parameterName string Name of the parameter (forexample: 'p') from the qry to replace with the parameterExpression.
리턴 System.Linq.Expressions.Expression