CosmosEntityTypeExtensions.GetETagPropertyName 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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 屬性的名稱。