次の方法で共有


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

戻り値

翻訳後の整形されたクエリ。

適用対象