EntityQueryModelVisitor.BindMemberExpression 方法

定义

重载

BindMemberExpression(MemberExpression, Action<IProperty,IQuerySource>)

绑定成员表达式。

BindMemberExpression<TResult>(MemberExpression, IQuerySource, Func<IProperty,IQuerySource,TResult>)

绑定成员表达式。

BindMemberExpression(MemberExpression, Action<IProperty,IQuerySource>)

绑定成员表达式。

public virtual void BindMemberExpression (System.Linq.Expressions.MemberExpression memberExpression, Action<Microsoft.EntityFrameworkCore.Metadata.IProperty,Remotion.Linq.Clauses.IQuerySource> memberBinder);
abstract member BindMemberExpression : System.Linq.Expressions.MemberExpression * Action<Microsoft.EntityFrameworkCore.Metadata.IProperty, Remotion.Linq.Clauses.IQuerySource> -> unit
override this.BindMemberExpression : System.Linq.Expressions.MemberExpression * Action<Microsoft.EntityFrameworkCore.Metadata.IProperty, Remotion.Linq.Clauses.IQuerySource> -> unit
Public Overridable Sub BindMemberExpression (memberExpression As MemberExpression, memberBinder As Action(Of IProperty, IQuerySource))

参数

memberExpression
MemberExpression

成员访问表达式。

memberBinder
Action<IProperty,Remotion.Linq.Clauses.IQuerySource>

成员联编程序。

适用于

BindMemberExpression<TResult>(MemberExpression, IQuerySource, Func<IProperty,IQuerySource,TResult>)

绑定成员表达式。

public virtual TResult BindMemberExpression<TResult> (System.Linq.Expressions.MemberExpression memberExpression, Remotion.Linq.Clauses.IQuerySource querySource, Func<Microsoft.EntityFrameworkCore.Metadata.IProperty,Remotion.Linq.Clauses.IQuerySource,TResult> memberBinder);
abstract member BindMemberExpression : System.Linq.Expressions.MemberExpression * Remotion.Linq.Clauses.IQuerySource * Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Remotion.Linq.Clauses.IQuerySource, 'Result> -> 'Result
override this.BindMemberExpression : System.Linq.Expressions.MemberExpression * Remotion.Linq.Clauses.IQuerySource * Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Remotion.Linq.Clauses.IQuerySource, 'Result> -> 'Result
Public Overridable Function BindMemberExpression(Of TResult) (memberExpression As MemberExpression, querySource As IQuerySource, memberBinder As Func(Of IProperty, IQuerySource, TResult)) As TResult

类型参数

TResult

结果的类型。

参数

memberExpression
MemberExpression

成员访问表达式。

querySource
Remotion.Linq.Clauses.IQuerySource

查询源。

memberBinder
Func<IProperty,Remotion.Linq.Clauses.IQuerySource,TResult>

成员联编程序。

返回

TResult

TResult。

适用于