CurrentValueRecord 类

定义

提供对对象数据的当前值的访问。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
继承
CurrentValueRecord
继承
实现

注解

CurrentValueRecord 对象包含 DbDataRecord 跟踪的对象或关系的 ObjectStateEntry 视图。A CurrentValueRecord object contains a DbDataRecord view of the object or relationship tracked by an ObjectStateEntry.

CurrentValueRecord 实现 IExtendedDataRecord ,它提供对实体、关系和元数据的当前值的只读访问。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.

属性

DataRecordInfo

返回数据记录信息。Returns data record information.

DataRecordInfo

获取数据记录信息。Gets data record information.

(继承自 DbUpdatableDataRecord)
FieldCount

返回记录中的字段数。Returns the number of fields in the record.

FieldCount

获取记录中的字段数。Gets the number of fields in the record.

(继承自 DbUpdatableDataRecord)
Item[Int32]

返回具有给定字段序号的值。Returns a value with the given field ordinal.

Item[Int32]

返回具有给定字段序号的值。Returns a value that has the given field ordinal.

(继承自 DbUpdatableDataRecord)
Item[String]

获取具有给定字段名称的值。Gets a value with the given field name.

Item[String]

获取具有给定字段名称的值。Gets a value that has the given field name.

(继承自 DbUpdatableDataRecord)

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetBoolean(Int32)

检索布尔值形式的字段值。Retrieves the field value as a Boolean.

GetBoolean(Int32)

检索布尔值形式的字段值。Retrieves the field value as a Boolean.

(继承自 DbUpdatableDataRecord)
GetByte(Int32)

检索字节形式的字段值。Retrieves the field value as a byte.

GetByte(Int32)

检索 byte 形式的字段值。Retrieves the field value as a byte.

(继承自 DbUpdatableDataRecord)
GetBytes(Int32, Int64, Byte[], Int32, Int32)

检索字节数组形式的字段值。Retrieves the field value as a byte array.

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

检索 byte 数组形式的字段值。Retrieves the field value as a byte array.

(继承自 DbUpdatableDataRecord)
GetChar(Int32)

检索字符形式的字段值。Retrieves the field value as a char.

GetChar(Int32)

检索 char 形式的字段值。Retrieves the field value as a char.

(继承自 DbUpdatableDataRecord)
GetChars(Int32, Int64, Char[], Int32, Int32)

检索字符数组形式的字段值。Retrieves the field value as a char array.

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

检索 char 数组形式的字段值。Retrieves the field value as a char array.

(继承自 DbUpdatableDataRecord)
GetData(Int32)

目前尚不支持。Not currently supported.

(继承自 DbDataRecord)
GetDataReader(Int32)

在所有情况下都会引发 NotSupportedException 异常。Throws a NotSupportedException exception in all cases.

GetDataReader(Int32)

检索 DbDataReader 形式的字段值。Retrieves the field value as a DbDataReader.

(继承自 DbUpdatableDataRecord)
GetDataRecord(Int32)

检索 DbDataRecord 形式的字段值。Retrieves a field value as a DbDataRecord.

GetDataRecord(Int32)

检索 DbDataRecord 形式的字段值。Retrieves a field value as a DbDataRecord.

(继承自 DbUpdatableDataRecord)
GetDataTypeName(Int32)

检索字段数据类型的名称。Retrieves the name of the field data type.

GetDataTypeName(Int32)

检索字段数据类型的名称。Retrieves the name of the field data type.

(继承自 DbUpdatableDataRecord)
GetDateTime(Int32)

检索 DateTime 形式的字段值。Retrieves the field value as a DateTime.

GetDateTime(Int32)

检索 DateTime 形式的字段值。Retrieves the field value as a DateTime.

(继承自 DbUpdatableDataRecord)
GetDbDataReader(Int32)

在所有情况下都会引发 NotSupportedException 异常。Throws a NotSupportedException exception in all cases.

GetDbDataReader(Int32)

DbDataReader 形式检索字段值Retrieves the field value as a DbDataReader

(继承自 DbUpdatableDataRecord)
GetDecimal(Int32)

检索十进制形式的字段值。Retrieves the field value as a decimal.

GetDecimal(Int32)

检索 decimal 形式的字段值。Retrieves the field value as a decimal.

(继承自 DbUpdatableDataRecord)
GetDouble(Int32)

检索双精度值形式的字段值。Retrieves the field value as a double.

GetDouble(Int32)

检索 double 形式的字段值。Retrieves the field value as a double.

(继承自 DbUpdatableDataRecord)
GetFieldType(Int32)

检索字段的类型。Retrieves the type of a field.

GetFieldType(Int32)

检索字段的类型。Retrieves the type of a field.

(继承自 DbUpdatableDataRecord)
GetFloat(Int32)

检索浮点形式的字段值。Retrieves the field value as a float.

GetFloat(Int32)

检索 float 形式的字段值。Retrieves the field value as a float.

(继承自 DbUpdatableDataRecord)
GetGuid(Int32)

检索 Guid 形式的字段值。Retrieves the field value as a Guid.

GetGuid(Int32)

检索 Guid 形式的字段值。Retrieves the field value as a Guid.

(继承自 DbUpdatableDataRecord)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetInt16(Int32)

检索 Int16 形式的字段值。Retrieves the field value as an Int16.

GetInt16(Int32)

检索 Int16 形式的字段值。Retrieves the field value as an Int16.

(继承自 DbUpdatableDataRecord)
GetInt32(Int32)

检索 Int32 形式的字段值。Retrieves the field value as an Int32.

GetInt32(Int32)

检索 Int32 形式的字段值。Retrieves the field value as an Int32.

(继承自 DbUpdatableDataRecord)
GetInt64(Int32)

检索 Int64 形式的字段值。Retrieves the field value as an Int64.

GetInt64(Int32)

检索 Int64 形式的字段值。Retrieves the field value as an Int64.

(继承自 DbUpdatableDataRecord)
GetName(Int32)

检索字段的名称。Retrieves the name of a field.

GetName(Int32)

检索字段的名称。Retrieves the name of a field.

(继承自 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.

(继承自 DbUpdatableDataRecord)
GetRecordValue(Int32)

检索字段的值。Retrieves the value of a field.

GetRecordValue(Int32)

检索字段的值。Retrieves the value of a field.

(继承自 DbUpdatableDataRecord)
GetString(Int32)

检索字符串形式的字段值。Retrieves the field value as a string.

GetString(Int32)

检索字符串形式的字段值。Retrieves the field value as a string.

(继承自 DbUpdatableDataRecord)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
GetValue(Int32)

检索字段的值。Retrieves the value of a field.

GetValue(Int32)

检索字段的值。Retrieves the value of a field.

(继承自 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.

(继承自 DbUpdatableDataRecord)
IsDBNull(Int32)

返回一个值,该值指示指定的字段是否设置为 nullReturns a value that indicates whether the specified field is set to null.

IsDBNull(Int32)

返回指示指定字段是否设置为 DBNull 的值。Returns whether the specified field is set to DBNull.

(继承自 DbUpdatableDataRecord)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 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.

(继承自 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.

(继承自 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.

(继承自 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.

(继承自 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.

(继承自 DbUpdatableDataRecord)
SetDBNull(Int32)

将一个字段设置为 DBNull 值。Sets a field to the DBNull value.

SetDBNull(Int32)

将一个字段设置为 DBNull 值。Sets a field to the DBNull value.

(继承自 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.

(继承自 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.

(继承自 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.

(继承自 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.

(继承自 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.

(继承自 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.

(继承自 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.

(继承自 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.

(继承自 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.

(继承自 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.

(继承自 DbUpdatableDataRecord)
SetValues(Object[])

设置记录中的字段值。Sets field values in a record.

SetValues(Object[])

设置记录中的字段值。Sets field values in a record.

(继承自 DbUpdatableDataRecord)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

显式接口实现

ICustomTypeDescriptor.GetAttributes()

返回此组件实例的自定义属性的集合。Returns a collection of custom attributes for this instance of a component.

(继承自 DbDataRecord)
ICustomTypeDescriptor.GetClassName()

返回此组件实例的类名称。Returns the class name of this instance of a component.

(继承自 DbDataRecord)
ICustomTypeDescriptor.GetComponentName()

返回某个组件的此实例的名称。Returns the name of this instance of a component.

(继承自 DbDataRecord)
ICustomTypeDescriptor.GetConverter()

返回此组件实例的类型转换器。Returns a type converter for this instance of a component.

(继承自 DbDataRecord)
ICustomTypeDescriptor.GetDefaultEvent()

返回某个组件的此实例的默认事件。Returns the default event for this instance of a component.

(继承自 DbDataRecord)
ICustomTypeDescriptor.GetDefaultProperty()

返回此组件实例的默认属性。Returns the default property for this instance of a component.

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

返回此组件实例的指定类型的编辑器。Returns an editor of the specified type for this instance of a component.

(继承自 DbDataRecord)
ICustomTypeDescriptor.GetEvents()

返回此组件实例的事件。Returns the events for this instance of a component.

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

使用指定的属性数组作为筛选器,返回此组件实例的事件。Returns the events for this instance of a component using the specified attribute array as a filter.

(继承自 DbDataRecord)
ICustomTypeDescriptor.GetProperties()

返回此组件实例的属性。Returns the properties for this instance of a component.

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

使用特性数组作为筛选器,返回此组件实例的属性。Returns the properties for this instance of a component using the attribute array as a filter.

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

返回一个对象,该对象包含指定的属性描述符所描述的属性。Returns an object that contains the property described by the specified property descriptor.

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

在所有情况下都会引发 NotSupportedException 异常。Throws a NotSupportedException exception in all cases.

IDataRecord.GetData(Int32)

检索 IDataReader 形式的字段值。Retrieves the field value as an IDataReader.

(继承自 DbUpdatableDataRecord)

适用于