IExtendedDataRecord 接口
定义
为 DbDataRecord 提供对 DbDataReader 的每行中的列值的访问。Provides access to the column values within each row of a DbDataRecord for a DbDataReader.
public interface class IExtendedDataRecord : System::Data::IDataRecord
public interface IExtendedDataRecord : System.Data.IDataRecord
type IExtendedDataRecord = interface
interface IDataRecord
Public Interface IExtendedDataRecord
Implements IDataRecord
- 派生
- 实现
属性
| DataRecordInfo |
获取此 DataRecordInfo 的 IExtendedDataRecord。Gets DataRecordInfo for this IExtendedDataRecord. |
| FieldCount |
获取当前行中的列数。Gets the number of columns in the current row. (继承自 IDataRecord) |
| Item[Int32] |
获取位于指定索引处的列。Gets the column located at the specified index. (继承自 IDataRecord) |
| Item[String] |
获取具有指定名称的列。Gets the column with the specified name. (继承自 IDataRecord) |
方法
| GetBoolean(Int32) |
获取指定列的布尔值形式的值。Gets the value of the specified column as a Boolean. (继承自 IDataRecord) |
| GetByte(Int32) |
获取指定列的 8 位无符号整数值。Gets the 8-bit unsigned integer value of the specified column. (继承自 IDataRecord) |
| GetBytes(Int32, Int64, Byte[], Int32, Int32) |
将字节流从指定列偏移量读入到缓冲区中,将其作为从给定缓冲区偏移量开始的数组。Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset. (继承自 IDataRecord) |
| GetChar(Int32) |
获取指定列的字符值。Gets the character value of the specified column. (继承自 IDataRecord) |
| GetChars(Int32, Int64, Char[], Int32, Int32) |
将字符流从指定列偏移量读入到缓冲区中,将其作为从给定缓冲区偏移量开始的数组。Reads a stream of characters from the specified column offset into the buffer as an array, starting at the given buffer offset. (继承自 IDataRecord) |
| GetData(Int32) |
返回指定列序号的 IDataReader。Returns an IDataReader for the specified column ordinal. (继承自 IDataRecord) |
| GetDataReader(Int32) |
以 DbDataReader 对象的形式返回嵌套的读取器。Returns nested readers as DbDataReader objects. |
| GetDataRecord(Int32) |
使用指定的索引获取DbDataRecord 对象。Gets a DbDataRecord object with the specified index. |
| GetDataTypeName(Int32) |
获取指定字段的数据类型信息。Gets the data type information for the specified field. (继承自 IDataRecord) |
| GetDateTime(Int32) |
获取指定字段的日期和时间数据值。Gets the date and time data value of the specified field. (继承自 IDataRecord) |
| GetDecimal(Int32) |
获取指定字段的固定位置数值。Gets the fixed-position numeric value of the specified field. (继承自 IDataRecord) |
| GetDouble(Int32) |
获取指定字段的双精度浮点数。Gets the double-precision floating point number of the specified field. (继承自 IDataRecord) |
| GetFieldType(Int32) |
获取对应于会从 GetValue(Int32) 返回的 Object 类型的 Type 信息。Gets the Type information corresponding to the type of Object that would be returned from GetValue(Int32). (继承自 IDataRecord) |
| GetFloat(Int32) |
获取指定字段的单精度浮点数。Gets the single-precision floating point number of the specified field. (继承自 IDataRecord) |
| GetGuid(Int32) |
返回指定字段的 GUID 值。Returns the GUID value of the specified field. (继承自 IDataRecord) |
| GetInt16(Int32) |
获取指定字段的 16 位带符号整数值。Gets the 16-bit signed integer value of the specified field. (继承自 IDataRecord) |
| GetInt32(Int32) |
获取指定字段的 32 位带符号整数值。Gets the 32-bit signed integer value of the specified field. (继承自 IDataRecord) |
| GetInt64(Int32) |
获取指定字段的 64 位带符号整数值。Gets the 64-bit signed integer value of the specified field. (继承自 IDataRecord) |
| GetName(Int32) |
获取要查找的字段的名称。Gets the name for the field to find. (继承自 IDataRecord) |
| GetOrdinal(String) |
返回已命名字段的索引。Return the index of the named field. (继承自 IDataRecord) |
| GetString(Int32) |
获取指定字段的字符串值。Gets the string value of the specified field. (继承自 IDataRecord) |
| GetValue(Int32) |
返回指定字段的值。Return the value of the specified field. (继承自 IDataRecord) |
| GetValues(Object[]) |
使用当前记录的列值填充对象的数组。Populates an array of objects with the column values of the current record. (继承自 IDataRecord) |
| IsDBNull(Int32) |
返回指定字段是否设置为 null。Return whether the specified field is set to null. (继承自 IDataRecord) |