EntityStateChangedEventArgs 构造函数

定义

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,恕不另行通知。 应仅在代码中直接使用它,并且非常谨慎,并且知道在更新到新的 Entity Framework Core 版本时,这样做可能会导致应用程序失败。

public EntityStateChangedEventArgs (Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.EntityState oldState, Microsoft.EntityFrameworkCore.EntityState newState);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public EntityStateChangedEventArgs (Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.EntityState oldState, Microsoft.EntityFrameworkCore.EntityState newState);
new Microsoft.EntityFrameworkCore.ChangeTracking.EntityStateChangedEventArgs : Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.EntityState * Microsoft.EntityFrameworkCore.EntityState -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityStateChangedEventArgs
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.ChangeTracking.EntityStateChangedEventArgs : Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.EntityState * Microsoft.EntityFrameworkCore.EntityState -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityStateChangedEventArgs
Public Sub New (internalEntityEntry As InternalEntityEntry, oldState As EntityState, newState As EntityState)

参数

internalEntityEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry
oldState
EntityState
newState
EntityState
属性

适用于