Partilhar via


ReaderColumn<T> Class

Definition

An expected column in the relational data reader.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public class ReaderColumn<T> : Microsoft.EntityFrameworkCore.Storage.ReaderColumn
type ReaderColumn<'T> = class
    inherit ReaderColumn
Public Class ReaderColumn(Of T)
Inherits ReaderColumn

Type Parameters

T
Inheritance
ReaderColumn<T>

Remarks

See Implementation of database providers and extensions for more information and examples.

Constructors

ReaderColumn<T>(Boolean, String, Func<DbDataReader,Int32[],T>)
Obsolete.

Creates a new instance of the ReaderColumn<T> class.

ReaderColumn<T>(Boolean, String, IPropertyBase, Expression<Func<DbDataReader,Int32[],T>>)

Creates a new instance of the ReaderColumn<T> class.

ReaderColumn<T>(Boolean, String, IPropertyBase, Func<DbDataReader,Int32[],T>)

Creates a new instance of the ReaderColumn<T> class.

Properties

GetFieldValue

The function to get field value for the column from the reader.

GetFieldValueExpression

A lambda expression to get field value for the column from the reader.

(Inherited from ReaderColumn)
IsNullable

A value indicating if the column is nullable.

(Inherited from ReaderColumn)
Name

The name of the column.

(Inherited from ReaderColumn)
Property

The property being read if any, null otherwise.

(Inherited from ReaderColumn)
Type

The CLR type of the column.

(Inherited from ReaderColumn)

Applies to