IEntityStateListener IEntityStateListener Interface

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public interface IEntityStateListener
Public Interface IEntityStateListener

Methods

StateChanged(InternalEntityEntry, EntityState, Boolean) StateChanged(InternalEntityEntry, EntityState, Boolean)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

void StateChanged(InternalEntityEntry entry, EntityState oldState, bool fromQuery)
Sub StateChanged(entry As InternalEntityEntry, oldState As EntityState, fromQuery As Boolean)
Parameters
fromQuery
System.Boolean System.Boolean

StateChanging(InternalEntityEntry, EntityState) StateChanging(InternalEntityEntry, EntityState)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

void StateChanging(InternalEntityEntry entry, EntityState newState)
Sub StateChanging(entry As InternalEntityEntry, newState As EntityState)
Parameters