Export (0) Print
Expand All

CurrentValueRecord Class

Provides access to the current values of object data.

Namespace:  System.Data.Objects
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public abstract class CurrentValueRecord : DbUpdatableDataRecord

The CurrentValueRecord type exposes the following members.

  NameDescription
Public propertyDataRecordInfoGets data record information. (Inherited from DbUpdatableDataRecord.)
Public propertyFieldCountGets the number of fields in the record. (Inherited from DbUpdatableDataRecord.)
Public propertyItem[Int32]Returns a value that has the given field ordinal. (Inherited from DbUpdatableDataRecord.)
Public propertyItem[String]Gets a value that has the given field name. (Inherited from DbUpdatableDataRecord.)
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetBooleanRetrieves the field value as a Boolean. (Inherited from DbUpdatableDataRecord.)
Public methodGetByteRetrieves the field value as a byte. (Inherited from DbUpdatableDataRecord.)
Public methodGetBytesRetrieves the field value as a byte array. (Inherited from DbUpdatableDataRecord.)
Public methodGetCharRetrieves the field value as a char. (Inherited from DbUpdatableDataRecord.)
Public methodGetCharsRetrieves the field value as a char array. (Inherited from DbUpdatableDataRecord.)
Public methodGetDataInfrastructure. Not currently supported. (Inherited from DbDataRecord.)
Public methodGetDataReaderRetrieves the field value as a DbDataReader. (Inherited from DbUpdatableDataRecord.)
Public methodGetDataRecordRetrieves a field value as a DbDataRecord. (Inherited from DbUpdatableDataRecord.)
Public methodGetDataTypeNameRetrieves the name of the field data type. (Inherited from DbUpdatableDataRecord.)
Public methodGetDateTimeRetrieves the field value as a DateTime. (Inherited from DbUpdatableDataRecord.)
Protected methodGetDbDataReaderRetrieves the field value as a DbDataReader (Inherited from DbUpdatableDataRecord.)
Public methodGetDecimalRetrieves the field value as a decimal. (Inherited from DbUpdatableDataRecord.)
Public methodGetDoubleRetrieves the field value as a double. (Inherited from DbUpdatableDataRecord.)
Public methodGetFieldTypeRetrieves the type of a field. (Inherited from DbUpdatableDataRecord.)
Public methodGetFloatRetrieves the field value as a float. (Inherited from DbUpdatableDataRecord.)
Public methodGetGuidRetrieves the field value as a Guid. (Inherited from DbUpdatableDataRecord.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetInt16Retrieves the field value as an Int16. (Inherited from DbUpdatableDataRecord.)
Public methodGetInt32Retrieves the field value as an Int32. (Inherited from DbUpdatableDataRecord.)
Public methodGetInt64Retrieves the field value as an Int64. (Inherited from DbUpdatableDataRecord.)
Public methodGetNameRetrieves the name of a field. (Inherited from DbUpdatableDataRecord.)
Public methodGetOrdinalRetrieves the ordinal of a field by using the name of the field. (Inherited from DbUpdatableDataRecord.)
Protected methodGetRecordValueRetrieves the value of a field. (Inherited from DbUpdatableDataRecord.)
Public methodGetStringRetrieves the field value as a string. (Inherited from DbUpdatableDataRecord.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetValueRetrieves the value of a field. (Inherited from DbUpdatableDataRecord.)
Public methodGetValuesPopulates an array of objects with the field values of the current record. (Inherited from DbUpdatableDataRecord.)
Public methodIsDBNullReturns whether the specified field is set to DBNull. (Inherited from DbUpdatableDataRecord.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetBooleanSets the value of a field in a record. (Inherited from DbUpdatableDataRecord.)
Public methodSetByteSets the value of a field in a record. (Inherited from DbUpdatableDataRecord.)
Public methodSetCharSets the value of a field in a record. (Inherited from DbUpdatableDataRecord.)
Public methodSetDataRecordSets the value of a field in a record. (Inherited from DbUpdatableDataRecord.)
Public methodSetDateTimeSets the value of a field in a record. (Inherited from DbUpdatableDataRecord.)
Public methodSetDBNullSets a field to the DBNull value. (Inherited from DbUpdatableDataRecord.)
Public methodSetDecimalSets the value of a field in a record. (Inherited from DbUpdatableDataRecord.)
Public methodSetDoubleSets the value of a field in a record. (Inherited from DbUpdatableDataRecord.)
Public methodSetFloatSets the value of a field in a record. (Inherited from DbUpdatableDataRecord.)
Public methodSetGuidSets the value of a field in a record. (Inherited from DbUpdatableDataRecord.)
Public methodSetInt16Sets the value of a field in a record. (Inherited from DbUpdatableDataRecord.)
Public methodSetInt32Sets the value of a field in a record. (Inherited from DbUpdatableDataRecord.)
Public methodSetInt64Sets the value of a field in a record. (Inherited from DbUpdatableDataRecord.)
Protected methodSetRecordValueSets the value of a field in a record. (Inherited from DbUpdatableDataRecord.)
Public methodSetStringSets the value of a field in a record. (Inherited from DbUpdatableDataRecord.)
Public methodSetValueSets the value of a field in a record. (Inherited from DbUpdatableDataRecord.)
Public methodSetValuesSets field values in a record. (Inherited from DbUpdatableDataRecord.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodICustomTypeDescriptor.GetAttributesReturns a collection of custom attributes for this instance of a component. (Inherited from DbDataRecord.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor.GetClassNameReturns the class name of this instance of a component. (Inherited from DbDataRecord.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor.GetComponentNameReturns the name of this instance of a component. (Inherited from DbDataRecord.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor.GetConverterReturns a type converter for this instance of a component. (Inherited from DbDataRecord.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor.GetDefaultEventReturns the default event for this instance of a component. (Inherited from DbDataRecord.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor.GetDefaultPropertyReturns the default property for this instance of a component. (Inherited from DbDataRecord.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor.GetEditorReturns an editor of the specified type for this instance of a component. (Inherited from DbDataRecord.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor.GetEvents()Returns the events for this instance of a component. (Inherited from DbDataRecord.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor.GetEvents(Attribute[])Returns the events for this instance of a component using the specified attribute array as a filter. (Inherited from DbDataRecord.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor.GetProperties()Returns the properties for this instance of a component. (Inherited from DbDataRecord.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor.GetProperties(Attribute[])Returns the properties for this instance of a component using the attribute array as a filter. (Inherited from DbDataRecord.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor.GetPropertyOwnerReturns an object that contains the property described by the specified property descriptor. (Inherited from DbDataRecord.)
Explicit interface implemetationPrivate methodIDataRecord.GetDataRetrieves the field value as an IDataReader. (Inherited from DbUpdatableDataRecord.)
Top

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.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft