共用方式為


RelationalQueryableMethodTranslatingExpressionVisitor.TranslateExecuteDelete 方法

定義

ExecuteDelete<TSource>(IQueryable<TSource>)將方法轉譯為指定來源。

protected virtual Microsoft.EntityFrameworkCore.Query.NonQueryExpression? TranslateExecuteDelete (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source);
abstract member TranslateExecuteDelete : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression -> Microsoft.EntityFrameworkCore.Query.NonQueryExpression
override this.TranslateExecuteDelete : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression -> Microsoft.EntityFrameworkCore.Query.NonQueryExpression
Protected Overridable Function TranslateExecuteDelete (source As ShapedQueryExpression) As NonQueryExpression

參數

source
ShapedQueryExpression

套用運算子的成形查詢。

傳回

翻譯後的非查詢。

適用於