TableSharingConcurrencyTokenConvention.IsConcurrencyTokenMissing 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| IsConcurrencyTokenMissing(List<IProperty>, IEntityType, IReadOnlyList<IEntityType>) |
这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。 |
| IsConcurrencyTokenMissing(List<IReadOnlyProperty>, IReadOnlyEntityType, IReadOnlyList<IReadOnlyEntityType>) |
这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。 |
IsConcurrencyTokenMissing(List<IProperty>, IEntityType, IReadOnlyList<IEntityType>)
这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public static bool IsConcurrencyTokenMissing(System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Metadata.IProperty> propertiesMappedToConcurrencyColumn, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> mappedTypes);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
static member IsConcurrencyTokenMissing : System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Metadata.IProperty> * Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> -> bool
Public Shared Function IsConcurrencyTokenMissing (propertiesMappedToConcurrencyColumn As List(Of IProperty), entityType As IEntityType, mappedTypes As IReadOnlyList(Of IEntityType)) As Boolean
参数
- entityType
- IEntityType
- mappedTypes
- IReadOnlyList<IEntityType>
返回
- 特性
适用于
IsConcurrencyTokenMissing(List<IReadOnlyProperty>, IReadOnlyEntityType, IReadOnlyList<IReadOnlyEntityType>)
这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public static bool IsConcurrencyTokenMissing(System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> propertiesMappedToConcurrencyColumn, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType> mappedTypes);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
static member IsConcurrencyTokenMissing : System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType> -> bool
Public Shared Function IsConcurrencyTokenMissing (propertiesMappedToConcurrencyColumn As List(Of IReadOnlyProperty), entityType As IReadOnlyEntityType, mappedTypes As IReadOnlyList(Of IReadOnlyEntityType)) As Boolean
参数
- propertiesMappedToConcurrencyColumn
- List<IReadOnlyProperty>
- entityType
- IReadOnlyEntityType
- mappedTypes
- IReadOnlyList<IReadOnlyEntityType>
返回
- 特性