RelationalPropertyExtensions.GetReaderFieldValue Method

Definition

Reads a value for this property from the given relationalReader.

public static object? GetReaderFieldValue (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Storage.RelationalDataReader relationalReader, int ordinal, bool detailedErrorsEnabled);
static member GetReaderFieldValue : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Storage.RelationalDataReader * int * bool -> obj
<Extension()>
Public Function GetReaderFieldValue (property As IProperty, relationalReader As RelationalDataReader, ordinal As Integer, detailedErrorsEnabled As Boolean) As Object

Parameters

property
IProperty

The property.

relationalReader
RelationalDataReader

The read from which to read the property's value.

ordinal
Int32

The ordinal to read in the relationalReader.

detailedErrorsEnabled
Boolean

Whether detailed errors should be logged.

Returns

Applies to