语言

ExpressionExtensions.RemoveConvert(Expression) 方法

定义

注意

Unwrap each convert manually by evaluating how they are used.

返回从给定表达式树的头中删除的任何 see Convert 或 ConvertChecked nodes 的新表达式/

此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

public static System.Linq.Expressions.Expression RemoveConvert(this System.Linq.Expressions.Expression expression);
[System.Obsolete("Unwrap each convert manually by evaluating how they are used.")]
public static System.Linq.Expressions.Expression RemoveConvert(this System.Linq.Expressions.Expression expression);
static member RemoveConvert : System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
[<System.Obsolete("Unwrap each convert manually by evaluating how they are used.")>]
static member RemoveConvert : System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
<Extension()>
Public Function RemoveConvert (expression As Expression) As Expression

参数

expression
Expression

表达式。

返回

删除了头部转换的新表达式。

特性

适用于