語言

ExpressionExtensions.RemoveConvert(Expression) 方法

定義

警告

Unwrap each convert manually by evaluating how they are used.

回傳一個新表達式,並移除該表達式樹的頭部中任何 see(see Convert )或 ConvertChecked 節點。

此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。

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

表達式。

傳回

一個帶有「轉化者」字樣的新表達被移除。

屬性

適用於