共用方式為


IPrincipalKeyValueFactory<TKey>.CreateFromRelationshipSnapshot 方法

定義

從指定專案中的關聯性快照集索引鍵值建立索引鍵物件。

public TKey CreateFromRelationshipSnapshot (Microsoft.EntityFrameworkCore.Update.IUpdateEntry entry);
abstract member CreateFromRelationshipSnapshot : Microsoft.EntityFrameworkCore.Update.IUpdateEntry -> 'Key
Public Function CreateFromRelationshipSnapshot (entry As IUpdateEntry) As TKey

參數

entry
IUpdateEntry

追蹤實體實例的專案。

傳回

TKey

索引鍵值。

適用於