다음을 통해 공유


RelationalQueryableMethodTranslatingExpressionVisitor.TranslateCast 메서드

정의

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

protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateCast (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, Type resultType);
protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateCast (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, Type resultType);
override this.TranslateCast : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * Type -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected Overrides Function TranslateCast (source As ShapedQueryExpression, resultType As Type) As ShapedQueryExpression

매개 변수

source
ShapedQueryExpression

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

resultType
Type

반환

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

적용 대상