CosmosPropertyBuilderExtensions.IsETagConcurrency Method
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.
Overloads
IsETagConcurrency(PropertyBuilder) |
Configures this property to be the etag concurrency token. |
IsETagConcurrency<TProperty>(PropertyBuilder<TProperty>) |
Configures this property to be the etag concurrency token. |
IsETagConcurrency(PropertyBuilder)
Configures this property to be the etag concurrency token.
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
Parameters
- propertyBuilder
- PropertyBuilder
The builder for the property being configured.
Returns
The same builder instance so that multiple calls can be chained.
Remarks
See Modeling entity types and relationships, and Accessing Azure Cosmos DB with EF Core for more information and examples.
Applies to
IsETagConcurrency<TProperty>(PropertyBuilder<TProperty>)
Configures this property to be the etag concurrency token.
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)
Type Parameters
- TProperty
The type of the property being configured.
Parameters
- propertyBuilder
- PropertyBuilder<TProperty>
The builder for the property being configured.
Returns
The same builder instance so that multiple calls can be chained.
Remarks
See Modeling entity types and relationships, and Accessing Azure Cosmos DB with EF Core for more information and examples.
Applies to
Entity Framework