IDependentKeyValueFactory<TKey>.TryCreateFromBuffer Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Tente de créer une clé instance à l’aide de valeurs de clé étrangère à partir du donnéValueBuffer.
public bool TryCreateFromBuffer (in Microsoft.EntityFrameworkCore.Storage.ValueBuffer valueBuffer, out TKey key);
public bool TryCreateFromBuffer (in Microsoft.EntityFrameworkCore.Storage.ValueBuffer? valueBuffer, out TKey? key);
abstract member TryCreateFromBuffer : ValueBuffer * 'Key -> bool
Public Function TryCreateFromBuffer (valueBuffer As ValueBuffer, ByRef key As TKey) As Boolean
Paramètres
- valueBuffer
- ValueBuffer
Mémoire tampon de valeur représentant l’entité instance.
- key
- TKey
Clé instance.
Retours
truesi la clé instance a été créée ; false sinon.