Condividi tramite


CosmosEntityTypeExtensions.GetETagProperty Metodo

Definizione

Overload

GetETagProperty(IConventionEntityType)

Ottiene la proprietà in questa entità mappata a Cosmos ETag, se presente.

GetETagProperty(IEntityType)

Ottiene la proprietà in questa entità mappata a Cosmos ETag, se presente.

GetETagProperty(IMutableEntityType)

Ottiene la proprietà in questa entità mappata a Cosmos ETag, se presente.

GetETagProperty(IReadOnlyEntityType)

Ottiene la proprietà in questa entità mappata a Cosmos ETag, se presente.

GetETagProperty(IConventionEntityType)

Ottiene la proprietà in questa entità mappata a Cosmos ETag, se presente.

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

Parametri

entityType
IConventionEntityType

Tipo di entità per cui ottenere la proprietà ETag.

Restituisce

La proprietà mappata a etag o null se non viene eseguito il mapping di alcuna proprietà a ETag.

Si applica a

GetETagProperty(IEntityType)

Ottiene la proprietà in questa entità mappata a Cosmos ETag, se presente.

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

Parametri

entityType
IEntityType

Tipo di entità per cui ottenere la proprietà ETag.

Restituisce

La proprietà mappata a etag o null se non viene eseguito il mapping di alcuna proprietà a ETag.

Si applica a

GetETagProperty(IMutableEntityType)

Ottiene la proprietà in questa entità mappata a Cosmos ETag, se presente.

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

Parametri

entityType
IMutableEntityType

Tipo di entità per cui ottenere la proprietà ETag.

Restituisce

La proprietà mappata a etag o null se non viene eseguito il mapping di alcuna proprietà a ETag.

Si applica a

GetETagProperty(IReadOnlyEntityType)

Ottiene la proprietà in questa entità mappata a Cosmos ETag, se presente.

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

Parametri

entityType
IReadOnlyEntityType

Tipo di entità per cui ottenere la proprietà ETag.

Restituisce

La proprietà mappata a ETag o null se non viene eseguito il mapping di alcuna proprietà a ETag.

Si applica a