OrganizationServiceContext.UpdateObject Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UpdateObject(Entity) |
Changes the state of the specified entity in the OrganizationServiceContext to |
UpdateObject(Entity, Boolean) |
Changes the state of the specified entity in the OrganizationServiceContext to |
UpdateObject(Entity)
Changes the state of the specified entity in the OrganizationServiceContext to Modified
.
public:
void UpdateObject(Microsoft::Xrm::Sdk::Entity ^ entity);
public void UpdateObject (Microsoft.Xrm.Sdk.Entity entity);
member this.UpdateObject : Microsoft.Xrm.Sdk.Entity -> unit
Public Sub UpdateObject (entity As Entity)
Parameters
- entity
- Entity
The tracked entity to be assigned to the Modified
state.
Applies to
UpdateObject(Entity, Boolean)
Changes the state of the specified entity in the OrganizationServiceContext to Modified
.
public:
void UpdateObject(Microsoft::Xrm::Sdk::Entity ^ entity, bool recursive);
public void UpdateObject (Microsoft.Xrm.Sdk.Entity entity, bool recursive);
member this.UpdateObject : Microsoft.Xrm.Sdk.Entity * bool -> unit
Public Sub UpdateObject (entity As Entity, recursive As Boolean)
Parameters
- entity
- Entity
The tracked entity to be assigned to the Modified
state.
- recursive
- Boolean
true
if operation should be recursive; otherwise false
.