CosmosEntityTypeExtensions.GetETagPropertyName Method

Definition

Overloads

GetETagPropertyName(IEntityType)

Returns the name of the property that is used to store the etag.

GetETagPropertyName(IReadOnlyEntityType)

Returns the name of the property that is used to store the ETag.

GetETagPropertyName(IEntityType)

Returns the name of the property that is used to store the etag.

public static string GetETagPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetETagPropertyName : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> string
<Extension()>
Public Function GetETagPropertyName (entityType As IEntityType) As String

Parameters

entityType
IEntityType

The entity type to get the etag property name for.

Returns

The name of the etag property.

Applies to

GetETagPropertyName(IReadOnlyEntityType)

Returns the name of the property that is used to store the ETag.

public static string? GetETagPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetETagPropertyName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> string
<Extension()>
Public Function GetETagPropertyName (entityType As IReadOnlyEntityType) As String

Parameters

entityType
IReadOnlyEntityType

The entity type to get the etag property name for.

Returns

The name of the etag property.

Applies to