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.

C#
public abstract class DbUpdatableDataRecord : System.Data.Common.DbDataRecord, System.Data.Entity.Core.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

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.

GetDataReader(Int32)

Retrieves the field value as a System.Common.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 System.Common.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.

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.

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.

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.

Explicit Interface Implementations

IDataRecord.GetData(Int32)

Retrieves the field value as an IDataReader.

Applies to

Product Versions
Entity Framework 6.2.0