CosmosPropertyBuilderExtensions.IsETagConcurrency Metodo

Definizione

Overload

IsETagConcurrency(PropertyBuilder)

Configura questa proprietà come token di concorrenza etag.

IsETagConcurrency<TProperty>(PropertyBuilder<TProperty>)

Configura questa proprietà come token di concorrenza etag.

IsETagConcurrency(PropertyBuilder)

Configura questa proprietà come token di concorrenza etag.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder IsETagConcurrency (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder propertyBuilder);
static member IsETagConcurrency : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
<Extension()>
Public Function IsETagConcurrency (propertyBuilder As PropertyBuilder) As PropertyBuilder

Parametri

propertyBuilder
PropertyBuilder

Generatore per la proprietà da configurare.

Restituisce

Stessa istanza del generatore in modo che più chiamate possano essere concatenati.

Commenti

Per altre informazioni ed esempi, vedere Modellazione di tipi e relazioni di entità e Accesso ad Azure Cosmos DB con EF Core .

Si applica a

IsETagConcurrency<TProperty>(PropertyBuilder<TProperty>)

Configura questa proprietà come token di concorrenza etag.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> IsETagConcurrency<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> propertyBuilder);
static member IsETagConcurrency : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property> -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
<Extension()>
Public Function IsETagConcurrency(Of TProperty) (propertyBuilder As PropertyBuilder(Of TProperty)) As PropertyBuilder(Of TProperty)

Parametri di tipo

TProperty

Tipo della proprietà configurata.

Parametri

propertyBuilder
PropertyBuilder<TProperty>

Generatore per la proprietà da configurare.

Restituisce

Stessa istanza del generatore in modo che più chiamate possano essere concatenati.

Commenti

Per altre informazioni ed esempi, vedere Modellazione di tipi e relazioni di entità e Accesso ad Azure Cosmos DB con EF Core .

Si applica a