-
Notifications
You must be signed in to change notification settings - Fork 0
TQueryCrudExtensions_UpdateList_zEcO5exNzgtu2yAybII8ig
Jacob Spitzer edited this page Aug 28, 2022
·
2 revisions
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");
Table
The type of the records of table class. need to be a class with the [Table("")] attribute.
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