IPrincipalKeyValueFactory<TKey>.CreateFromBuffer(ValueBuffer) Method

Definition

Creates a key object from key values obtained from their indexed position in the given ValueBuffer.

public object CreateFromBuffer (Microsoft.EntityFrameworkCore.Storage.ValueBuffer valueBuffer);
public object? CreateFromBuffer (Microsoft.EntityFrameworkCore.Storage.ValueBuffer valueBuffer);
abstract member CreateFromBuffer : Microsoft.EntityFrameworkCore.Storage.ValueBuffer -> obj
Public Function CreateFromBuffer (valueBuffer As ValueBuffer) As Object

Parameters

valueBuffer
ValueBuffer

The buffer containing key values.

Returns

The key object, or null if any of the key values were null.

Applies to