DbDataController<TContext>.UpdateEntity Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Updates an entity in the DbContext, ensuring it is treated as a modified entity.
Namespace: System.Web.Http.Data.EntityFramework
Assembly: System.Web.Http.Data.EntityFramework (in System.Web.Http.Data.EntityFramework.dll)
Syntax
'Declaration
Protected Overridable Sub UpdateEntity ( _
entity As Object _
)
protected virtual void UpdateEntity(
Object entity
)
protected:
virtual void UpdateEntity(
Object^ entity
)
abstract UpdateEntity :
entity:Object -> unit
override UpdateEntity :
entity:Object -> unit
protected function UpdateEntity(
entity : Object
)
Parameters
- entity
Type: System.Object
The entity to be updated.