EntityStateChangedEventArgs 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public EntityStateChangedEventArgs(Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.EntityState oldState, Microsoft.EntityFrameworkCore.EntityState newState);
public EntityStateChangedEventArgs(Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.EntityState oldState, Microsoft.EntityFrameworkCore.EntityState newState);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.ChangeTracking.EntityStateChangedEventArgs : Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.EntityState * Microsoft.EntityFrameworkCore.EntityState -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityStateChangedEventArgs
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
- 特性