Skip to content

ExecuteUpdateExtensions

Mike King edited this page Sep 30, 2025 · 4 revisions

ExecuteUpdateExtensions Class

Execute Update Extensions.

public static class ExecuteUpdateExtensions

Inheritance System.Object 🡒 ExecuteUpdateExtensions

Methods
ExecuteDeleteGetCountAsync<TSource>(this IQueryable<TSource>, CancellationToken) Deletes all database rows for the entity instances which match the LINQ query from the database.
ExecuteDeleteGetRowsAsync<TSource>(this IQueryable<TSource>, CancellationToken) Deletes all database rows for the entity instances which match the LINQ query from the database.
ExecuteInsertGetRowAsync<TSource>(this IQueryable<TSource>, Action<UpdateSettersBuilder<TSource>>, CancellationToken) Insert a database row.
ExecuteUpdateGetCountAsync<TSource>(this IQueryable<TSource>, Action<UpdateSettersBuilder<TSource>>, CancellationToken) Updates all database rows for the entity instances which match the LINQ query from the database.
ExecuteUpdateGetRowsAsync<TSource>(this IQueryable<TSource>, Action<UpdateSettersBuilder<TSource>>, CancellationToken) Updates all database rows for the entity instances which match the LINQ query from the database.
UseExecuteUpdateExtensions(this DbContextOptionsBuilder) Use the Execute Update Extensions.

Clone this wiki locally