DataReaderExtensions クラス
定義
DbDataReader の拡張メソッドを提供します。Provides extension methods for DbDataReader.
public ref class DataReaderExtensions abstract sealed
public static class DataReaderExtensions
type DataReaderExtensions = class
Public Module DataReaderExtensions
- 継承
-
DataReaderExtensions
メソッド
GetBoolean(DbDataReader, String) |
指定された列の値を Boolean として取得します。Gets the value of the specified column as a Boolean. |
GetByte(DbDataReader, String) |
指定された列の値をバイトとして取得します。Gets the value of the specified column as a byte. |
GetBytes(DbDataReader, String, Int64, Byte[], Int32, Int32) |
指定したインデックスを開始位置として、指定した列から指定したバイト数を読み取り、バッファー内の指定した位置の開始位置としてバッファーに書き込みます。Reads a specified number of bytes from the specified column starting at a specified index and writes them to a buffer starting at a specified position in the buffer. |
GetChar(DbDataReader, String) |
指定した列の値を単一の文字として取得します。Gets the value of the specified column as a single character. |
GetChars(DbDataReader, String, Int64, Char[], Int32, Int32) |
指定したインデックスを開始位置として、指定した列から指定した文字数を読み取り、バッファー内の指定した位置の開始位置としてバッファーに書き込みます。Reads a specified number of characters from a specified column starting at a specified index, and writes them to a buffer starting at a specified position. |
GetData(DbDataReader, String) |
要求された列に対して、入れ子になったデータ リーダーを返します。Returns a nested data reader for the requested column. |
GetDataTypeName(DbDataReader, String) |
指定された列のデータ型の名前を取得します。Gets name of the data type of the specified column. |
GetDateTime(DbDataReader, String) |
指定された列の値を DateTime オブジェクトとして取得します。Gets the value of the specified column as a DateTime object. |
GetDecimal(DbDataReader, String) |
指定した列の値を Decimal として取得します。Gets the value of the specified column as a Decimal. |
GetDouble(DbDataReader, String) |
指定した列の値を倍精度浮動小数点数として取得します。Gets the value of the specified column as a double-precision floating point number. |
GetFieldType(DbDataReader, String) |
指定された列のデータ型を取得します。Gets the data type of the specified column. |
GetFieldValue<T>(DbDataReader, String) |
要求された型として指定した列の値を取得します。Gets the value of the specified column as the requested type. |
GetFieldValueAsync<T>(DbDataReader, String, CancellationToken) |
要求された型として指定された列の値を非同期で取得します。Asynchronously gets the value of the specified column as the requested type. |
GetFloat(DbDataReader, String) |
指定された列の値を単精度浮動小数点値として取得します。Gets the value of the specified column as a single-precision floating point number. |
GetGuid(DbDataReader, String) |
指定した列の値をグローバル一意識別子 (GUID) として取得します。Gets the value of the specified column as a globally unique identifier (GUID). |
GetInt16(DbDataReader, String) |
指定した列の値を 16 ビット符号付き整数として取得します。Gets the value of the specified column as a 16-bit signed integer. |
GetInt32(DbDataReader, String) |
指定された列の値を 32 ビット符号付き整数として取得します。Gets the value of the specified column as a 32-bit signed integer. |
GetInt64(DbDataReader, String) |
指定された列の値を 64 ビット符号付き整数として取得します。Gets the value of the specified column as a 64-bit signed integer. |
GetProviderSpecificFieldType(DbDataReader, String) |
指定された列のプロバイダー固有の型を取得します。Gets the provider-specific type of the specified column. |
GetProviderSpecificValue(DbDataReader, String) |
指定された列の値をプロバイダー固有の型のインスタンスとして取得します。Gets the value of the specified column as an instance of a provider-specific type. |
GetStream(DbDataReader, String) |
指定された列からデータを取得する目的でストリームを取得します。Gets a stream to retrieve data from the specified column. |
GetString(DbDataReader, String) |
指定された列の値を String のインスタンスとして取得します。Gets the value of the specified column as an instance of String. |
GetTextReader(DbDataReader, String) |
列からデータを取得する目的でテキスト リーダーを取得します。Gets a text reader to retrieve data from the column. |
GetValue(DbDataReader, String) |
指定された列の値を Object のインスタンスとして取得します。Gets the value of the specified column as an instance of Object. |
IsDBNull(DbDataReader, String) |
存在しない値や欠落値が列に含まれているかどうかを示す値を取得します。Gets a value that indicates whether the column contains nonexistent or missing values. |
IsDBNullAsync(DbDataReader, String, CancellationToken) |
列に格納されている値が存在しない値または欠損値かどうかを示す値を非同期で取得します。Asynchronously gets a value that indicates whether the column contains non-existent or missing values. |