CosmosEntityTypeExtensions.GetETagProperty 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
GetETagProperty(IConventionEntityType) |
Gets the property on this entity that is mapped to Cosmos ETag, if it exists. |
GetETagProperty(IEntityType) |
Gets the property on this entity that is mapped to Cosmos ETag, if it exists. |
GetETagProperty(IMutableEntityType) |
Gets the property on this entity that is mapped to Cosmos ETag, if it exists. |
GetETagProperty(IReadOnlyEntityType) |
Gets the property on this entity that is mapped to Cosmos ETag, if it exists. |
GetETagProperty(IConventionEntityType)
Gets the property on this entity that is mapped to Cosmos ETag, if it exists.
public static Microsoft.EntityFrameworkCore.Metadata.IConventionProperty? GetETagProperty (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetETagProperty : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionProperty
<Extension()>
Public Function GetETagProperty (entityType As IConventionEntityType) As IConventionProperty
Parameters
- entityType
- IConventionEntityType
The entity type to get the ETag property for.
Returns
The property mapped to etag, or null
if no property is mapped to ETag.
Applies to
GetETagProperty(IEntityType)
Gets the property on this entity that is mapped to Cosmos ETag, if it exists.
public static Microsoft.EntityFrameworkCore.Metadata.IProperty GetETagProperty (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
public static Microsoft.EntityFrameworkCore.Metadata.IProperty? GetETagProperty (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetETagProperty : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IProperty
<Extension()>
Public Function GetETagProperty (entityType As IEntityType) As IProperty
Parameters
- entityType
- IEntityType
The entity type to get the ETag property for.
Returns
The property mapped to etag, or null
if no property is mapped to ETag.
Applies to
GetETagProperty(IMutableEntityType)
Gets the property on this entity that is mapped to Cosmos ETag, if it exists.
public static Microsoft.EntityFrameworkCore.Metadata.IMutableProperty? GetETagProperty (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member GetETagProperty : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
<Extension()>
Public Function GetETagProperty (entityType As IMutableEntityType) As IMutableProperty
Parameters
- entityType
- IMutableEntityType
The entity type to get the ETag property for.
Returns
The property mapped to etag, or null
if no property is mapped to ETag.
Applies to
GetETagProperty(IReadOnlyEntityType)
Gets the property on this entity that is mapped to Cosmos ETag, if it exists.
public static Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty? GetETagProperty (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetETagProperty : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty
<Extension()>
Public Function GetETagProperty (entityType As IReadOnlyEntityType) As IReadOnlyProperty
Parameters
- entityType
- IReadOnlyEntityType
The entity type to get the ETag property for.
Returns
The property mapped to ETag, or null
if no property is mapped to ETag.
Applies to
Entity Framework