TableSharingConcurrencyTokenConvention Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A convention that finds entity types which share a table which has a concurrency token column where those entity types do not have a property mapped to that column. It then creates a shadow concurrency property mapped to that column on the base-most entity type(s).
public class TableSharingConcurrencyTokenConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type TableSharingConcurrencyTokenConvention = class
interface IModelFinalizingConvention
interface IConvention
Public Class TableSharingConcurrencyTokenConvention
Implements IModelFinalizingConvention
- Inheritance
-
TableSharingConcurrencyTokenConvention
- Implements
Remarks
See Model building conventions for more information and examples.
Constructors
TableSharingConcurrencyTokenConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies) |
Creates a new instance of TableSharingConcurrencyTokenConvention. |
Properties
Dependencies |
Dependencies for this service. |
RelationalDependencies |
Relational provider-specific dependencies for this service. |
Methods
GetConcurrencyTokensMap(StoreObjectIdentifier, IReadOnlyList<IEntityType>) |
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. |
GetConcurrencyTokensMap(StoreObjectIdentifier, IReadOnlyList<IReadOnlyEntityType>) |
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. |
IsConcurrencyTokenMissing(List<IProperty>, IEntityType, IReadOnlyList<IEntityType>) |
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. |
IsConcurrencyTokenMissing(List<IReadOnlyProperty>, IReadOnlyEntityType, IReadOnlyList<IReadOnlyEntityType>) |
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. |
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>) |
Called when a model is being finalized. |
Applies to
Entity Framework