-
Notifications
You must be signed in to change notification settings - Fork 0
TQueryCrudExtensions_Update_SIykhQKQpb7CtXSLtcz+Dw
Jacob Spitzer edited this page Aug 28, 2022
·
2 revisions
Updates an entity in table.
public static void Update<Table>(this DbEasyConnect.DbEc<Table> tQuery, Table entity, 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.
entity
Table
An single entity to update.
keyColumnName
System.String
The column name of the primary key.