共用方式為


RelationalTypeMapping.GetDataReaderMethod 方法

定義

多載

GetDataReaderMethod()

讀取指定型別的值時使用的方法。 必須在 或其其中一個子類別上 DbDataReader 定義 方法。

GetDataReaderMethod(Type)

讀取指定型別的值時使用的方法。 方法必須在 上 DbDataReader 定義。

GetDataReaderMethod()

讀取指定型別的值時使用的方法。 必須在 或其其中一個子類別上 DbDataReader 定義 方法。

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

傳回

用來讀取值的方法。

適用於

GetDataReaderMethod(Type)

讀取指定型別的值時使用的方法。 方法必須在 上 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

參數

type
Type

傳回

用來讀取值的方法。

適用於