-
Notifications
You must be signed in to change notification settings - Fork 0
ExecuteUpdateExtensions.ExecuteInsertAsync.9QIFSBTH9UBVFMAS62N4B1IYD
Mike King edited this page Oct 29, 2025
·
1 revision
ExecuteUpdateExtensions.ExecuteInsertAsync<TSource>(this IQueryable<TSource>, Action<UpdateSettersBuilder<TSource>>, CancellationToken) Method
Insert a database row.
public static System.Threading.Tasks.Task ExecuteInsertAsync<TSource>(this System.Linq.IQueryable<TSource> source, System.Action<Microsoft.EntityFrameworkCore.Query.UpdateSettersBuilder<TSource>> setPropertyCalls, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
where TSource : class;TSource
The type of the elements of source.
source System.Linq.IQueryable<TSource>
An System.Linq.IQueryable<> whose elements to test for a condition.
setPropertyCalls System.Action<Microsoft.EntityFrameworkCore.Query.UpdateSettersBuilder<TSource>>
A method containing set property statements specifying properties to update.
cancellationToken System.Threading.CancellationToken
A System.Threading.CancellationToken to observe while waiting for the task to complete.
System.Threading.Tasks.Task
A System.Threading.Tasks.Task that represents the asynchronous operation.