Partager via


IPrincipalKeyValueFactory<TKey>.CreateFromBuffer(ValueBuffer) Method

Definition

Caution

This API is now deprecated.

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);
[System.Obsolete]
public object? CreateFromBuffer (Microsoft.EntityFrameworkCore.Storage.ValueBuffer valueBuffer);
abstract member CreateFromBuffer : Microsoft.EntityFrameworkCore.Storage.ValueBuffer -> obj
[<System.Obsolete>]
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.

Attributes

Applies to