Share via


RelationalTypeMapping.GetDataReaderMethod Method

Definition

Overloads

GetDataReaderMethod()

The method to use when reading values of the given type. The method must be defined on DbDataReader or one of its subclasses.

GetDataReaderMethod(Type)

The method to use when reading values of the given type. The method must be defined on DbDataReader.

GetDataReaderMethod()

The method to use when reading values of the given type. The method must be defined on DbDataReader or one of its subclasses.

public virtual System.Reflection.MethodInfo GetDataReaderMethod ();
abstract member GetDataReaderMethod : unit -> System.Reflection.MethodInfo
override this.GetDataReaderMethod : unit -> System.Reflection.MethodInfo
Public Overridable Function GetDataReaderMethod () As MethodInfo

Returns

The method to use to read the value.

Applies to

GetDataReaderMethod(Type)

The method to use when reading values of the given type. The method must be defined on DbDataReader.

public static System.Reflection.MethodInfo GetDataReaderMethod (Type type);
static member GetDataReaderMethod : Type -> System.Reflection.MethodInfo
Public Shared Function GetDataReaderMethod (type As Type) As MethodInfo

Parameters

type
Type

Returns

The method to use to read the value.

Applies to