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 的屬性,如果沒有 null
屬性對應至 ETag,則為 。
適用於
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 的屬性,如果沒有 null
屬性對應至 ETag,則為 。
適用於
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 的屬性,如果沒有 null
屬性對應至 ETag,則為 。
適用於
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 的屬性,如果沒有 null
屬性對應至 ETag,則為 。