RelationalPropertyExtensions.GetReaderFieldValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework