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 属性的名称。

适用于