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