CosmosEntityTypeExtensions.GetETagPropertyName 方法

定義

多載

GetETagPropertyName(IEntityType)

傳回用來儲存 etag 的屬性名稱。

GetETagPropertyName(IReadOnlyEntityType)

傳回用來儲存 ETag 的屬性名稱。

GetETagPropertyName(IEntityType)

傳回用來儲存 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

參數

entityType
IEntityType

要為其取得 etag 屬性名稱的實體類型。

傳回

etag 屬性的名稱。

適用於

GetETagPropertyName(IReadOnlyEntityType)

傳回用來儲存 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

參數

entityType
IReadOnlyEntityType

要為其取得 etag 屬性名稱的實體類型。

傳回

etag 屬性的名稱。

適用於