다음을 통해 공유


QueryableMethodTranslatingExpressionVisitor.TranslateCast 메서드

정의

지정된 원본에 대해 메서드를 변환합니다 Cast<TResult>(IQueryable) .

protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateCast (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, Type resultType);
protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateCast (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, Type castType);
protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateCast (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, Type castType);
abstract member TranslateCast : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * Type -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
abstract member TranslateCast : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * Type -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected MustOverride Function TranslateCast (source As ShapedQueryExpression, resultType As Type) As ShapedQueryExpression
Protected MustOverride Function TranslateCast (source As ShapedQueryExpression, castType As Type) As ShapedQueryExpression

매개 변수

source
ShapedQueryExpression

연산자가 적용되는 셰이드 쿼리입니다.

resultTypecastType
Type

반환

변환 후의 셰이드 쿼리입니다.

적용 대상