CosmosEntityTypeExtensions.GetETagProperty 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetETagProperty(IConventionEntityType) |
获取此实体上映射到 Cosmos ETag(如果存在)的属性。 |
GetETagProperty(IEntityType) |
获取此实体上映射到 Cosmos ETag(如果存在)的属性。 |
GetETagProperty(IMutableEntityType) |
获取此实体上映射到 Cosmos ETag(如果存在)的属性。 |
GetETagProperty(IReadOnlyEntityType) |
获取此实体上映射到 Cosmos ETag(如果存在)的属性。 |
GetETagProperty(IConventionEntityType)
获取此实体上映射到 Cosmos ETag(如果存在)的属性。
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
参数
- entityType
- IConventionEntityType
要获取其 ETag 属性的实体类型。
返回
映射到 etag 的属性;如果没有映射到 ETag 的属性, null
则为 。
适用于
GetETagProperty(IEntityType)
获取此实体上映射到 Cosmos ETag(如果存在)的属性。
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
参数
- entityType
- IEntityType
要获取其 ETag 属性的实体类型。
返回
映射到 etag 的属性;如果没有映射到 ETag 的属性, null
则为 。
适用于
GetETagProperty(IMutableEntityType)
获取此实体上映射到 Cosmos ETag(如果存在)的属性。
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
参数
- entityType
- IMutableEntityType
要获取其 ETag 属性的实体类型。
返回
映射到 etag 的属性;如果没有映射到 ETag 的属性, null
则为 。
适用于
GetETagProperty(IReadOnlyEntityType)
获取此实体上映射到 Cosmos ETag(如果存在)的属性。
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
参数
- entityType
- IReadOnlyEntityType
要获取其 ETag 属性的实体类型。
返回
映射到 ETag 的属性;如果没有映射到 ETag 的属性, null
则为 。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈