通过


DbUpdatableDataRecord 类

定义

提供对对象数据的原始值的访问权限。 实现 DbUpdatableDataRecord 允许更新对象的原始值的方法。

public ref class DbUpdatableDataRecord abstract : System::Data::Common::DbDataRecord, System::Data::IExtendedDataRecord
public abstract class DbUpdatableDataRecord : System.Data.Common.DbDataRecord, System.Data.IExtendedDataRecord
type DbUpdatableDataRecord = class
    inherit DbDataRecord
    interface IExtendedDataRecord
    interface IDataRecord
Public MustInherit Class DbUpdatableDataRecord
Inherits DbDataRecord
Implements IExtendedDataRecord
继承
DbUpdatableDataRecord
派生
实现

属性

名称 说明
DataRecordInfo

获取数据记录信息。

FieldCount

获取记录中的字段数。

Item[Int32]

返回具有给定字段序号的值。

Item[String]

获取具有给定字段名称的值。

方法

名称 说明
Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetBoolean(Int32)

检索字段值作为布尔值。

GetByte(Int32)

检索字段值作为 .byte

GetBytes(Int32, Int64, Byte[], Int32, Int32)

检索字段值作为 byte 数组。

GetChar(Int32)

检索字段值作为 .char

GetChars(Int32, Int64, Char[], Int32, Int32)

检索字段值作为 char 数组。

GetData(Int32)

当前不支持。

(继承自 DbDataRecord)
GetDataReader(Int32)

检索字段值作为 .DbDataReader

GetDataRecord(Int32)

检索字段值作为 .DbDataRecord

GetDataTypeName(Int32)

检索字段数据类型的名称。

GetDateTime(Int32)

检索字段值作为 .DateTime

GetDbDataReader(Int32)

检索字段值作为 .DbDataReader

GetDecimal(Int32)

检索字段值作为 .decimal

GetDouble(Int32)

检索字段值作为 .double

GetFieldType(Int32)

检索字段的类型。

GetFloat(Int32)

检索字段值作为 .float

GetGuid(Int32)

检索字段值作为 .Guid

GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetInt16(Int32)

检索字段值作为 .Int16

GetInt32(Int32)

检索字段值作为 .Int32

GetInt64(Int32)

检索字段值作为 .Int64

GetName(Int32)

检索字段的名称。

GetOrdinal(String)

使用字段的名称检索字段的序号。

GetRecordValue(Int32)

检索字段的值。

GetString(Int32)

以字符串的形式检索字段值。

GetType()

获取当前实例的 Type

(继承自 Object)
GetValue(Int32)

检索字段的值。

GetValues(Object[])

使用当前记录的字段值填充对象的数组。

IsDBNull(Int32)

返回指定的字段是否设置为 DBNull

MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
SetBoolean(Int32, Boolean)

设置记录中字段的值。

SetByte(Int32, Byte)

设置记录中字段的值。

SetChar(Int32, Char)

设置记录中字段的值。

SetDataRecord(Int32, IDataRecord)

设置记录中字段的值。

SetDateTime(Int32, DateTime)

设置记录中字段的值。

SetDBNull(Int32)

将字段设置为 DBNull 值。

SetDecimal(Int32, Decimal)

设置记录中字段的值。

SetDouble(Int32, Double)

设置记录中字段的值。

SetFloat(Int32, Single)

设置记录中字段的值。

SetGuid(Int32, Guid)

设置记录中字段的值。

SetInt16(Int32, Int16)

设置记录中字段的值。

SetInt32(Int32, Int32)

设置记录中字段的值。

SetInt64(Int32, Int64)

设置记录中字段的值。

SetRecordValue(Int32, Object)

设置记录中字段的值。

SetString(Int32, String)

设置记录中字段的值。

SetValue(Int32, Object)

设置记录中字段的值。

SetValues(Object[])

设置记录中的字段值。

ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

显式接口实现

名称 说明
ICustomTypeDescriptor.GetAttributes()

返回此组件的实例的自定义属性集合。

(继承自 DbDataRecord)
ICustomTypeDescriptor.GetClassName()

返回组件的此实例的类名。

(继承自 DbDataRecord)
ICustomTypeDescriptor.GetComponentName()

返回组件的此实例的名称。

(继承自 DbDataRecord)
ICustomTypeDescriptor.GetConverter()

返回组件的此实例的类型转换器。

(继承自 DbDataRecord)
ICustomTypeDescriptor.GetDefaultEvent()

返回此组件实例的默认事件。

(继承自 DbDataRecord)
ICustomTypeDescriptor.GetDefaultProperty()

返回组件的此实例的默认属性。

(继承自 DbDataRecord)
ICustomTypeDescriptor.GetEditor(Type)

返回此组件的实例的指定类型的编辑器。

(继承自 DbDataRecord)
ICustomTypeDescriptor.GetEvents()

返回组件的此实例的事件。

(继承自 DbDataRecord)
ICustomTypeDescriptor.GetEvents(Attribute[])

使用指定的属性数组作为筛选器返回组件的此实例的事件。

(继承自 DbDataRecord)
ICustomTypeDescriptor.GetProperties()

返回组件的此实例的属性。

(继承自 DbDataRecord)
ICustomTypeDescriptor.GetProperties(Attribute[])

使用属性数组作为筛选器返回组件的此实例的属性。

(继承自 DbDataRecord)
ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor)

返回一个对象,该对象包含指定属性描述符描述符描述的属性。

(继承自 DbDataRecord)
IDataRecord.GetData(Int32)

检索字段值作为 .IDataReader

适用于