TimestampAttributeConvention Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Convention qui configure la propriété en tant que jeton d’accès concurrentiel si elle TimestampAttribute est appliquée.
[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })]
public class TimestampAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<System.ComponentModel.DataAnnotations.TimestampAttribute>
public class TimestampAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<System.ComponentModel.DataAnnotations.TimestampAttribute>
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })>]
type TimestampAttributeConvention = class
inherit PropertyAttributeConventionBase<TimestampAttribute>
type TimestampAttributeConvention = class
inherit PropertyAttributeConventionBase<TimestampAttribute>
Public Class TimestampAttributeConvention
Inherits PropertyAttributeConventionBase(Of TimestampAttribute)
- Héritage
- Attributs
Remarques
Pour plus d’informations et d’exemples, consultez les conventions de génération de modèles.
Constructeurs
| Nom | Description |
|---|---|
| TimestampAttributeConvention(ProviderConventionSetBuilderDependencies) |
Crée une instance de TimestampAttributeConvention. |
Propriétés
| Nom | Description |
|---|---|
| Dependencies |
Dépendances pour ce service. (Hérité de PropertyAttributeConventionBase<TAttribute>) |