Język

DetectedEntityChangesEventArgs Klasa

Definicja

Argumenty zdarzenia DetectedEntityChanges .

[System.Runtime.CompilerServices.Nullable(0)]
public class DetectedEntityChangesEventArgs : Microsoft.EntityFrameworkCore.ChangeTracking.DetectedChangesEventArgs
public class DetectedEntityChangesEventArgs : Microsoft.EntityFrameworkCore.ChangeTracking.DetectedChangesEventArgs
[<System.Runtime.CompilerServices.Nullable(0)>]
type DetectedEntityChangesEventArgs = class
    inherit DetectedChangesEventArgs
type DetectedEntityChangesEventArgs = class
    inherit DetectedChangesEventArgs
Public Class DetectedEntityChangesEventArgs
Inherits DetectedChangesEventArgs
Dziedziczenie
DetectedEntityChangesEventArgs
Atrybuty

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz State changes of entities in EF Core (Zmiany stanu jednostek w programie EF Core ).

Konstruktory

Nazwisko Opis
DetectedEntityChangesEventArgs(InternalEntityEntry, Boolean)

Jest to wewnętrzny interfejs API, który obsługuje infrastrukturę Entity Framework Core i nie podlega tym samym standardom zgodności co publiczne interfejsy API. Można go zmienić lub usunąć bez powiadomienia w jakiejkolwiek wersji. Należy używać go bezpośrednio w kodzie z wyjątkową ostrożnością i wiedząc, że może to spowodować błędy aplikacji podczas aktualizowania do nowej wersji Entity Framework Core.

Właściwości

Nazwisko Opis
ChangesFound

Zwraca wartość true w przypadku znalezienia zmian, false w przeciwnym razie.

(Odziedziczone po DetectedChangesEventArgs)
Entry

Element EntityEntry dla jednostki.

Dotyczy