Initializes a new instance of the EntityStateChangedEventArgs class.
| C# | Visual Basic |
public EntityStateChangedEventArgs( EntityState previousState, EntityState newState )
Public Sub New ( _ previousState As EntityState, _ newState As EntityState _ )
- previousState (EntityState)
- The previous EntityState.
- newState (EntityState)
- The new EntityState.