IEntityStateListener IEntityStateListener Interface

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.

Syntax

Declaration

public interface IEntityStateListenerPublic Interface IEntityStateListener

Methods summary

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.

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.

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

  • 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

Details

Assembly

Microsoft.EntityFrameworkCore.dll