CosmosEntityTypeExtensions.GetETagPropertyName 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
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
Entity Framework