RelationalQueryableMethodTranslatingExpressionVisitor.TranslateCast Metodo

Definizione

Converte il Cast<TResult>(IQueryable) metodo sull'origine specificata.

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

Parametri

source
ShapedQueryExpression

Query con forma su cui viene applicato l'operatore.

resultType
Type

Restituisce

Query con forma dopo la traduzione.

Si applica a