Edit

Share via


DbUpdatableDataRecord Class

Definition

Provides access to the original values of object data. The DbUpdatableDataRecord implements methods that allow updates to the original values of an object.

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
Inheritance
DbUpdatableDataRecord
Derived
Implements

Properties

DataRecordInfo

Gets data record information.

FieldCount

Gets the number of fields in the record.

Item[Int32]

Returns a value that has the given field ordinal.

Item[String]

Gets a value that has the given field name.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetBoolean(Int32)

Retrieves the field value as a Boolean.

GetByte(Int32)

Retrieves the field value as a byte.

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

Retrieves the field value as a byte array.

GetChar(Int32)

Retrieves the field value as a char.

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

Retrieves the field value as a char array.

GetData(Int32)

Not currently supported.

(Inherited from DbDataRecord)
GetDataReader(Int32)

Retrieves the field value as a DbDataReader.

GetDataRecord(Int32)

Retrieves a field value as a DbDataRecord.

GetDataTypeName(Int32)

Retrieves the name of the field data type.

GetDateTime(Int32)

Retrieves the field value as a DateTime.

GetDbDataReader(Int32)

Retrieves the field value as a DbDataReader.

GetDecimal(Int32)

Retrieves the field value as a decimal.

GetDouble(Int32)

Retrieves the field value as a double.

GetFieldType(Int32)

Retrieves the type of a field.

GetFloat(Int32)

Retrieves the field value as a float.

GetGuid(Int32)

Retrieves the field value as a Guid.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetInt16(Int32)

Retrieves the field value as an Int16.

GetInt32(Int32)

Retrieves the field value as an Int32.

GetInt64(Int32)

Retrieves the field value as an Int64.

GetName(Int32)

Retrieves the name of a field.

GetOrdinal(String)

Retrieves the ordinal of a field by using the name of the field.

GetRecordValue(Int32)

Retrieves the value of a field.

GetString(Int32)

Retrieves the field value as a string.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetValue(Int32)

Retrieves the value of a field.

GetValues(Object[])

Populates an array of objects with the field values of the current record.

IsDBNull(Int32)

Returns whether the specified field is set to DBNull.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetBoolean(Int32, Boolean)

Sets the value of a field in a record.

SetByte(Int32, Byte)

Sets the value of a field in a record.

SetChar(Int32, Char)

Sets the value of a field in a record.

SetDataRecord(Int32, IDataRecord)

Sets the value of a field in a record.

SetDateTime(Int32, DateTime)

Sets the value of a field in a record.

SetDBNull(Int32)

Sets a field to the DBNull value.

SetDecimal(Int32, Decimal)

Sets the value of a field in a record.

SetDouble(Int32, Double)

Sets the value of a field in a record.

SetFloat(Int32, Single)

Sets the value of a field in a record.

SetGuid(Int32, Guid)

Sets the value of a field in a record.

SetInt16(Int32, Int16)

Sets the value of a field in a record.

SetInt32(Int32, Int32)

Sets the value of a field in a record.

SetInt64(Int32, Int64)

Sets the value of a field in a record.

SetRecordValue(Int32, Object)

Sets the value of a field in a record.

SetString(Int32, String)

Sets the value of a field in a record.

SetValue(Int32, Object)

Sets the value of a field in a record.

SetValues(Object[])

Sets field values in a record.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICustomTypeDescriptor.GetAttributes()

Returns a collection of custom attributes for this instance of a component.

(Inherited from DbDataRecord)
ICustomTypeDescriptor.GetClassName()

Returns the class name of this instance of a component.

(Inherited from DbDataRecord)
ICustomTypeDescriptor.GetComponentName()

Returns the name of this instance of a component.

(Inherited from DbDataRecord)
ICustomTypeDescriptor.GetConverter()

Returns a type converter for this instance of a component.

(Inherited from DbDataRecord)
ICustomTypeDescriptor.GetDefaultEvent()

Returns the default event for this instance of a component.

(Inherited from DbDataRecord)
ICustomTypeDescriptor.GetDefaultProperty()

Returns the default property for this instance of a component.

(Inherited from DbDataRecord)
ICustomTypeDescriptor.GetEditor(Type)

Returns an editor of the specified type for this instance of a component.

(Inherited from DbDataRecord)
ICustomTypeDescriptor.GetEvents()

Returns the events for this instance of a component.

(Inherited from DbDataRecord)
ICustomTypeDescriptor.GetEvents(Attribute[])

Returns the events for this instance of a component using the specified attribute array as a filter.

(Inherited from DbDataRecord)
ICustomTypeDescriptor.GetProperties()

Returns the properties for this instance of a component.

(Inherited from DbDataRecord)
ICustomTypeDescriptor.GetProperties(Attribute[])

Returns the properties for this instance of a component using the attribute array as a filter.

(Inherited from DbDataRecord)
ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor)

Returns an object that contains the property described by the specified property descriptor.

(Inherited from DbDataRecord)
IDataRecord.GetData(Int32)

Retrieves the field value as an IDataReader.

Applies to