Bagikan melalui


CosmosPropertyBuilderExtensions.IsETagConcurrency Metode

Definisi

Overload

IsETagConcurrency(PropertyBuilder)

Mengonfigurasi properti ini menjadi token konkurensi etag.

IsETagConcurrency<TProperty>(PropertyBuilder<TProperty>)

Mengonfigurasi properti ini menjadi token konkurensi etag.

IsETagConcurrency(PropertyBuilder)

Mengonfigurasi properti ini menjadi token konkurensi 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

Parameter

propertyBuilder
PropertyBuilder

Penyusun untuk properti yang sedang dikonfigurasi.

Mengembalikan

Instans penyusun yang sama sehingga beberapa panggilan dapat dirangkai.

Keterangan

Lihat Memodelkan jenis dan hubungan entitas, dan Mengakses Azure Cosmos DB dengan EF Core untuk informasi dan contoh selengkapnya.

Berlaku untuk

IsETagConcurrency<TProperty>(PropertyBuilder<TProperty>)

Mengonfigurasi properti ini menjadi token konkurensi 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)

Jenis parameter

TProperty

Jenis properti yang sedang dikonfigurasi.

Parameter

propertyBuilder
PropertyBuilder<TProperty>

Penyusun untuk properti yang sedang dikonfigurasi.

Mengembalikan

Instans penyusun yang sama sehingga beberapa panggilan dapat dirangkai.

Keterangan

Lihat Memodelkan jenis dan hubungan entitas, dan Mengakses Azure Cosmos DB dengan EF Core untuk informasi dan contoh selengkapnya.

Berlaku untuk