IPrincipalKeyValueFactory<TKey>.CreateFromCurrentValues Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Verilen girişteki anahtar değerlerinden bir anahtar nesnesi oluşturur.
public TKey CreateFromCurrentValues (Microsoft.EntityFrameworkCore.Update.IUpdateEntry entry);
public TKey? CreateFromCurrentValues (Microsoft.EntityFrameworkCore.Update.IUpdateEntry entry);
abstract member CreateFromCurrentValues : Microsoft.EntityFrameworkCore.Update.IUpdateEntry -> 'Key
Public Function CreateFromCurrentValues (entry As IUpdateEntry) As TKey
Parametreler
- entry
- IUpdateEntry
Varlık örneğini izleyen giriş.
Döndürülenler
TKey
Anahtar değeri.
Şunlara uygulanır
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Entity Framework