Skip to content

TQueryCrudExtensions_UpdateList_zEcO5exNzgtu2yAybII8ig

Jacob Spitzer edited this page Aug 28, 2022 · 2 revisions

TQueryCrudExtensions.UpdateList<Table>(DbEc<Table>, List<Table>, string) Method

Updates a list of entities in table.

public static void UpdateList<Table>(this DbEasyConnect.DbEc<Table> tQuery, System.Collections.Generic.List<Table> entities, string keyColumnName="Id");

Type parameters

Table
The type of the records of table class. need to be a class with the [Table("")] attribute.

Parameters

tQuery DbEasyConnect.DbEc<Table>
An DbEc<T> to perform the update command.

entities System.Collections.Generic.List<Table>
An list of entities to update.

keyColumnName System.String
The column that contains the Key/Id that will be used to recognize the record to update

Clone this wiki locally