SqlTable.Update Method (Object, Object)

Executes an UPDATE command for the specified entity.

Namespace:  DbExtensions
Assembly: DbExtensions.dll

Syntax

public void Update(
	Object entity,
	Object originalId
)

Parameters

entity

Type: System.Object
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.

See Also

Reference

SqlTable Class
DbExtensions Namespace

© Max Toro Q.