语言

CurrentValueRecord 类

定义

当前分配给实体属性的值。

public abstract class CurrentValueRecord : System.Data.Entity.Core.Objects.DbUpdatableDataRecord
type CurrentValueRecord = class
    inherit DbUpdatableDataRecord
Public MustInherit Class CurrentValueRecord
Inherits DbUpdatableDataRecord
继承
CurrentValueRecord

属性

名称 说明
DataRecordInfo

获取数据记录信息。

(继承自 DbUpdatableDataRecord)
FieldCount

获取记录中的字段数。

(继承自 DbUpdatableDataRecord)
Item[Int32]

返回具有给定字段序号的值。

(继承自 DbUpdatableDataRecord)
Item[String]

获取具有给定字段名称的值。

(继承自 DbUpdatableDataRecord)

方法

名称 说明
GetBoolean(Int32)

检索字段值作为布尔值。

(继承自 DbUpdatableDataRecord)
GetByte(Int32)

以字节的形式检索字段值。

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

以字节数组的形式检索字段值。

(继承自 DbUpdatableDataRecord)
GetChar(Int32)

以字符的形式检索字段值。

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

以字符数组的形式检索字段值。

(继承自 DbUpdatableDataRecord)
GetDataReader(Int32)

检索字段值作为 .System.Common.DbDataReader

(继承自 DbUpdatableDataRecord)
GetDataRecord(Int32)

检索字段值作为 .DbDataRecord

(继承自 DbUpdatableDataRecord)
GetDataTypeName(Int32)

检索字段数据类型的名称。

(继承自 DbUpdatableDataRecord)
GetDateTime(Int32)

检索字段值作为 .DateTime

(继承自 DbUpdatableDataRecord)
GetDbDataReader(Int32)

检索字段值作为 System.Common.DbDataReader

(继承自 DbUpdatableDataRecord)
GetDecimal(Int32)

以十进制形式检索字段值。

(继承自 DbUpdatableDataRecord)
GetDouble(Int32)

以双精度检索字段值。

(继承自 DbUpdatableDataRecord)
GetFieldType(Int32)

检索字段的类型。

(继承自 DbUpdatableDataRecord)
GetFloat(Int32)

以浮点数的形式检索字段值。

(继承自 DbUpdatableDataRecord)
GetGuid(Int32)

检索字段值作为 .Guid

(继承自 DbUpdatableDataRecord)
GetInt16(Int32)

检索字段值作为 .Int16

(继承自 DbUpdatableDataRecord)
GetInt32(Int32)

检索字段值作为 .Int32

(继承自 DbUpdatableDataRecord)
GetInt64(Int32)

检索字段值作为 .Int64

(继承自 DbUpdatableDataRecord)
GetName(Int32)

检索字段的名称。

(继承自 DbUpdatableDataRecord)
GetOrdinal(String)

使用字段的名称检索字段的序号。

(继承自 DbUpdatableDataRecord)
GetRecordValue(Int32)

检索字段的值。

(继承自 DbUpdatableDataRecord)
GetString(Int32)

以字符串的形式检索字段值。

(继承自 DbUpdatableDataRecord)
GetValue(Int32)

检索字段的值。

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

使用当前记录的字段值填充对象的数组。

(继承自 DbUpdatableDataRecord)
IsDBNull(Int32)

返回指定的字段是否设置为 DBNull。

(继承自 DbUpdatableDataRecord)
SetBoolean(Int32, Boolean)

设置记录中字段的值。

(继承自 DbUpdatableDataRecord)
SetByte(Int32, Byte)

设置记录中字段的值。

(继承自 DbUpdatableDataRecord)
SetChar(Int32, Char)

设置记录中字段的值。

(继承自 DbUpdatableDataRecord)
SetDataRecord(Int32, IDataRecord)

设置记录中字段的值。

(继承自 DbUpdatableDataRecord)
SetDateTime(Int32, DateTime)

设置记录中字段的值。

(继承自 DbUpdatableDataRecord)
SetDBNull(Int32)

将字段设置为 DBNull 值。

(继承自 DbUpdatableDataRecord)
SetDecimal(Int32, Decimal)

设置记录中字段的值。

(继承自 DbUpdatableDataRecord)
SetDouble(Int32, Double)

设置记录中字段的值。

(继承自 DbUpdatableDataRecord)
SetFloat(Int32, Single)

设置记录中字段的值。

(继承自 DbUpdatableDataRecord)
SetGuid(Int32, Guid)

设置记录中字段的值。

(继承自 DbUpdatableDataRecord)
SetInt16(Int32, Int16)

设置记录中字段的值。

(继承自 DbUpdatableDataRecord)
SetInt32(Int32, Int32)

设置记录中字段的值。

(继承自 DbUpdatableDataRecord)
SetInt64(Int32, Int64)

设置记录中字段的值。

(继承自 DbUpdatableDataRecord)
SetRecordValue(Int32, Object)

设置记录中字段的值。

(继承自 DbUpdatableDataRecord)
SetString(Int32, String)

设置记录中字段的值。

(继承自 DbUpdatableDataRecord)
SetValue(Int32, Object)

设置记录中字段的值。

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

设置记录中的字段值。

(继承自 DbUpdatableDataRecord)

显式接口实现

名称 说明
IDataRecord.GetData(Int32)

检索字段值作为 .IDataReader

(继承自 DbUpdatableDataRecord)

适用于