Uređivanje

Dijeli putem


CurrentValueRecord Class

Definition

Provides access to the current values of object data.

public ref class CurrentValueRecord abstract : System::Data::Common::DbDataRecord, System::Data::IExtendedDataRecord
public ref class CurrentValueRecord abstract : System::Data::Objects::DbUpdatableDataRecord
public abstract class CurrentValueRecord : System.Data.Common.DbDataRecord, System.Data.IExtendedDataRecord
public abstract class CurrentValueRecord : System.Data.Objects.DbUpdatableDataRecord
type CurrentValueRecord = class
    inherit DbDataRecord
    interface IExtendedDataRecord
    interface IDataRecord
type CurrentValueRecord = class
    inherit DbUpdatableDataRecord
Public MustInherit Class CurrentValueRecord
Inherits DbDataRecord
Implements IExtendedDataRecord
Public MustInherit Class CurrentValueRecord
Inherits DbUpdatableDataRecord
Inheritance
CurrentValueRecord
Inheritance
Implements

Remarks

A CurrentValueRecord object contains a DbDataRecord view of the object or relationship tracked by an ObjectStateEntry.

CurrentValueRecord implements IExtendedDataRecord, which provides read-only access to the current values of entities, relationships, and metadata.

Implements methods that allow updates to the current values.

Properties

DataRecordInfo

Returns data record information.

DataRecordInfo

Gets data record information.

(Inherited from DbUpdatableDataRecord)
FieldCount

Returns the number of fields in the record.

FieldCount

Gets the number of fields in the record.

(Inherited from DbUpdatableDataRecord)
Item[Int32]

Returns a value with the given field ordinal.

Item[Int32]

Returns a value that has the given field ordinal.

(Inherited from DbUpdatableDataRecord)
Item[String]

Gets a value with the given field name.

Item[String]

Gets a value that has the given field name.

(Inherited from DbUpdatableDataRecord)

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.

GetBoolean(Int32)

Retrieves the field value as a Boolean.

(Inherited from DbUpdatableDataRecord)
GetByte(Int32)

Retrieves the field value as a byte.

GetByte(Int32)

Retrieves the field value as a byte.

(Inherited from DbUpdatableDataRecord)
GetBytes(Int32, Int64, Byte[], Int32, Int32)

Retrieves the field value as a byte array.

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

Retrieves the field value as a byte array.

(Inherited from DbUpdatableDataRecord)
GetChar(Int32)

Retrieves the field value as a char.

GetChar(Int32)

Retrieves the field value as a char.

(Inherited from DbUpdatableDataRecord)
GetChars(Int32, Int64, Char[], Int32, Int32)

Retrieves the field value as a char array.

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

Retrieves the field value as a char array.

(Inherited from DbUpdatableDataRecord)
GetData(Int32)

Not currently supported.

(Inherited from DbDataRecord)
GetDataReader(Int32)

Throws a NotSupportedException exception in all cases.

GetDataReader(Int32)

Retrieves the field value as a DbDataReader.

(Inherited from DbUpdatableDataRecord)
GetDataRecord(Int32)

Retrieves a field value as a DbDataRecord.

GetDataRecord(Int32)

Retrieves a field value as a DbDataRecord.

(Inherited from DbUpdatableDataRecord)
GetDataTypeName(Int32)

Retrieves the name of the field data type.

GetDataTypeName(Int32)

Retrieves the name of the field data type.

(Inherited from DbUpdatableDataRecord)
GetDateTime(Int32)

Retrieves the field value as a DateTime.

GetDateTime(Int32)

Retrieves the field value as a DateTime.

(Inherited from DbUpdatableDataRecord)
GetDbDataReader(Int32)

Throws a NotSupportedException exception in all cases.

GetDbDataReader(Int32)

Retrieves the field value as a DbDataReader.

(Inherited from DbUpdatableDataRecord)
GetDecimal(Int32)

Retrieves the field value as a decimal.

GetDecimal(Int32)

Retrieves the field value as a decimal.

(Inherited from DbUpdatableDataRecord)
GetDouble(Int32)

Retrieves the field value as a double.

GetDouble(Int32)

Retrieves the field value as a double.

(Inherited from DbUpdatableDataRecord)
GetFieldType(Int32)

Retrieves the type of a field.

GetFieldType(Int32)

Retrieves the type of a field.

(Inherited from DbUpdatableDataRecord)
GetFloat(Int32)

Retrieves the field value as a float.

GetFloat(Int32)

Retrieves the field value as a float.

(Inherited from DbUpdatableDataRecord)
GetGuid(Int32)

Retrieves the field value as a Guid.

GetGuid(Int32)

Retrieves the field value as a Guid.

(Inherited from DbUpdatableDataRecord)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetInt16(Int32)

Retrieves the field value as an Int16.

GetInt16(Int32)

Retrieves the field value as an Int16.

(Inherited from DbUpdatableDataRecord)
GetInt32(Int32)

Retrieves the field value as an Int32.

GetInt32(Int32)

Retrieves the field value as an Int32.

(Inherited from DbUpdatableDataRecord)
GetInt64(Int32)

Retrieves the field value as an Int64.

GetInt64(Int32)

Retrieves the field value as an Int64.

(Inherited from DbUpdatableDataRecord)
GetName(Int32)

Retrieves the name of a field.

GetName(Int32)

Retrieves the name of a field.

(Inherited from DbUpdatableDataRecord)
GetOrdinal(String)

Retrieves the ordinal of a field by name.

GetOrdinal(String)

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

(Inherited from DbUpdatableDataRecord)
GetRecordValue(Int32)

Retrieves the value of a field.

GetRecordValue(Int32)

Retrieves the value of a field.

(Inherited from DbUpdatableDataRecord)
GetString(Int32)

Retrieves the field value as a string.

GetString(Int32)

Retrieves the field value as a string.

(Inherited from DbUpdatableDataRecord)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetValue(Int32)

Retrieves the value of a field.

GetValue(Int32)

Retrieves the value of a field.

(Inherited from DbUpdatableDataRecord)
GetValues(Object[])

Retrieves all field values in the record into an object array.

GetValues(Object[])

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

(Inherited from DbUpdatableDataRecord)
IsDBNull(Int32)

Returns a value that indicates whether the specified field is set to null.

IsDBNull(Int32)

Returns whether the specified field is set to DBNull.

(Inherited from DbUpdatableDataRecord)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetBoolean(Int32, Boolean)

Sets the value of a field in a record.

SetBoolean(Int32, Boolean)

Sets the value of a field in a record.

(Inherited from DbUpdatableDataRecord)
SetByte(Int32, Byte)

Sets the value of a field in a record.

SetByte(Int32, Byte)

Sets the value of a field in a record.

(Inherited from DbUpdatableDataRecord)
SetChar(Int32, Char)

Sets the value of a field in a record.

SetChar(Int32, Char)

Sets the value of a field in a record.

(Inherited from DbUpdatableDataRecord)
SetDataRecord(Int32, IDataRecord)

Sets the value of a field in a record.

SetDataRecord(Int32, IDataRecord)

Sets the value of a field in a record.

(Inherited from DbUpdatableDataRecord)
SetDateTime(Int32, DateTime)

Sets the value of a field in a record.

SetDateTime(Int32, DateTime)

Sets the value of a field in a record.

(Inherited from DbUpdatableDataRecord)
SetDBNull(Int32)

Sets a field to the DBNull value.

SetDBNull(Int32)

Sets a field to the DBNull value.

(Inherited from DbUpdatableDataRecord)
SetDecimal(Int32, Decimal)

Sets the value of a field in a record.

SetDecimal(Int32, Decimal)

Sets the value of a field in a record.

(Inherited from DbUpdatableDataRecord)
SetDouble(Int32, Double)

Sets the value of a field in a record.

SetDouble(Int32, Double)

Sets the value of a field in a record.

(Inherited from DbUpdatableDataRecord)
SetFloat(Int32, Single)

Sets the value of a field in a record.

SetFloat(Int32, Single)

Sets the value of a field in a record.

(Inherited from DbUpdatableDataRecord)
SetGuid(Int32, Guid)

Sets the value of a field in a record.

SetGuid(Int32, Guid)

Sets the value of a field in a record.

(Inherited from DbUpdatableDataRecord)
SetInt16(Int32, Int16)

Sets the value of a field in a record.

SetInt16(Int32, Int16)

Sets the value of a field in a record.

(Inherited from DbUpdatableDataRecord)
SetInt32(Int32, Int32)

Sets the value of a field in a record.

SetInt32(Int32, Int32)

Sets the value of a field in a record.

(Inherited from DbUpdatableDataRecord)
SetInt64(Int32, Int64)

Sets the value of a field in a record.

SetInt64(Int32, Int64)

Sets the value of a field in a record.

(Inherited from DbUpdatableDataRecord)
SetRecordValue(Int32, Object)

Sets the value of a field in a record.

SetRecordValue(Int32, Object)

Sets the value of a field in a record.

(Inherited from DbUpdatableDataRecord)
SetString(Int32, String)

Sets the value of a field in a record.

SetString(Int32, String)

Sets the value of a field in a record.

(Inherited from DbUpdatableDataRecord)
SetValue(Int32, Object)

Sets the value of a field in a record.

SetValue(Int32, Object)

Sets the value of a field in a record.

(Inherited from DbUpdatableDataRecord)
SetValues(Object[])

Sets field values in a record.

SetValues(Object[])

Sets field values in a record.

(Inherited from DbUpdatableDataRecord)
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)

Throws a NotSupportedException exception in all cases.

IDataRecord.GetData(Int32)

Retrieves the field value as an IDataReader.

(Inherited from DbUpdatableDataRecord)

Applies to