SqlTable<TEntity>.Update Method (TEntity, Object)
Executes an UPDATE command for the specified entity.
Namespace: DbExtensions
Assembly: DbExtensions.dll
Syntax
public void Update(
TEntity entity,
Object originalId
)
Parameters
entity
Type: TEntity
The entity whose UPDATE command is to be executed.
originalId
Type: System.Object
The original primary key value.
Remarks
This overload is helpful when the entity uses an assigned primary key.