ObjectStateEntry.ChangeState(EntityState) 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.
Changes state of the entry to the specified EntityState value.
public abstract void ChangeState (System.Data.Entity.EntityState state);
abstract member ChangeState : System.Data.Entity.EntityState -> unit
Public MustOverride Sub ChangeState (state As EntityState)
Parameters
- state
- EntityState
The EntityState value to set for the State property of the entry.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework