CurrentValueRecord 類別

定義

提供物件資料之目前值的存取權。

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 檢視。

CurrentValueRecord 會實作 IExtendedDataRecord,其提供實體、關聯性和元數據目前值的唯讀存取權。

實作允許更新目前值的方法。

屬性

DataRecordInfo

傳回資料記錄資訊。

DataRecordInfo

取得資料記錄資訊。

(繼承來源 DbUpdatableDataRecord)
FieldCount

傳回記錄中的欄位數目。

FieldCount

取得資料錄中的欄位數目。

(繼承來源 DbUpdatableDataRecord)
Item[Int32]

傳回具有給定欄位序數的值。

Item[Int32]

傳回具有所指定欄位序數的值。

(繼承來源 DbUpdatableDataRecord)
Item[String]

取得具有給定欄位名稱的值。

Item[String]

取得具有所指定欄位名稱的值。

(繼承來源 DbUpdatableDataRecord)

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetBoolean(Int32)

將欄位值擷取成布林值 (Boolean)。

GetBoolean(Int32)

將欄位值擷取成布林值 (Boolean)。

(繼承來源 DbUpdatableDataRecord)
GetByte(Int32)

將欄位值擷取成位元組。

GetByte(Int32)

將欄位值擷取成 byte

(繼承來源 DbUpdatableDataRecord)
GetBytes(Int32, Int64, Byte[], Int32, Int32)

將欄位值擷取成位元組陣列。

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

byte 陣列擷取欄位值。

(繼承來源 DbUpdatableDataRecord)
GetChar(Int32)

將欄位值擷取成字元 (Char)。

GetChar(Int32)

將欄位值擷取成 char

(繼承來源 DbUpdatableDataRecord)
GetChars(Int32, Int64, Char[], Int32, Int32)

將欄位值擷取成字元陣列。

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

char 陣列擷取欄位值。

(繼承來源 DbUpdatableDataRecord)
GetData(Int32)

目前不支援。

(繼承來源 DbDataRecord)
GetDataReader(Int32)

在所有情況下都會擲回 NotSupportedException 例外狀況。

GetDataReader(Int32)

將欄位值擷取成 DbDataReader

(繼承來源 DbUpdatableDataRecord)
GetDataRecord(Int32)

將欄位值擷取成 DbDataRecord

GetDataRecord(Int32)

將欄位值擷取成 DbDataRecord

(繼承來源 DbUpdatableDataRecord)
GetDataTypeName(Int32)

擷取欄位資料型別的名稱。

GetDataTypeName(Int32)

擷取欄位資料型別的名稱。

(繼承來源 DbUpdatableDataRecord)
GetDateTime(Int32)

將欄位值擷取成 DateTime

GetDateTime(Int32)

將欄位值擷取成 DateTime

(繼承來源 DbUpdatableDataRecord)
GetDbDataReader(Int32)

在所有情況下都會擲回 NotSupportedException 例外狀況。

GetDbDataReader(Int32)

將欄位值擷取成 DbDataReader

(繼承來源 DbUpdatableDataRecord)
GetDecimal(Int32)

將欄位值擷取成十進位。

GetDecimal(Int32)

將欄位值擷取成 decimal

(繼承來源 DbUpdatableDataRecord)
GetDouble(Int32)

將欄位值擷取成雙精度浮點數 (Double)。

GetDouble(Int32)

將欄位值擷取成 double

(繼承來源 DbUpdatableDataRecord)
GetFieldType(Int32)

擷取欄位的型別。

GetFieldType(Int32)

擷取欄位的型別。

(繼承來源 DbUpdatableDataRecord)
GetFloat(Int32)

將欄位值擷取成浮點數 (Float)。

GetFloat(Int32)

將欄位值擷取成 float

(繼承來源 DbUpdatableDataRecord)
GetGuid(Int32)

將欄位值擷取成 Guid

GetGuid(Int32)

將欄位值擷取成 Guid

(繼承來源 DbUpdatableDataRecord)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetInt16(Int32)

將欄位值擷取成 Int16

GetInt16(Int32)

將欄位值擷取成 Int16

(繼承來源 DbUpdatableDataRecord)
GetInt32(Int32)

將欄位值擷取成 Int32

GetInt32(Int32)

將欄位值擷取成 Int32

(繼承來源 DbUpdatableDataRecord)
GetInt64(Int32)

將欄位值擷取成 Int64

GetInt64(Int32)

將欄位值擷取成 Int64

(繼承來源 DbUpdatableDataRecord)
GetName(Int32)

擷取欄位的名稱。

GetName(Int32)

擷取欄位的名稱。

(繼承來源 DbUpdatableDataRecord)
GetOrdinal(String)

依據名稱擷取欄位的序數。

GetOrdinal(String)

使用欄位的名稱擷取欄位的序數。

(繼承來源 DbUpdatableDataRecord)
GetRecordValue(Int32)

擷取欄位的值。

GetRecordValue(Int32)

擷取欄位的值。

(繼承來源 DbUpdatableDataRecord)
GetString(Int32)

將欄位值擷取成字串。

GetString(Int32)

將欄位值擷取成字串。

(繼承來源 DbUpdatableDataRecord)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
GetValue(Int32)

擷取欄位的值。

GetValue(Int32)

擷取欄位的值。

(繼承來源 DbUpdatableDataRecord)
GetValues(Object[])

將記錄中的所有欄位值都擷取至物件陣列中。

GetValues(Object[])

使用目前資料錄的欄位值填入物件陣列。

(繼承來源 DbUpdatableDataRecord)
IsDBNull(Int32)

傳回值,這個值表示指定的欄位是否設定為 null

IsDBNull(Int32)

傳回指定的欄位是否設定為 DBNull

(繼承來源 DbUpdatableDataRecord)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
SetBoolean(Int32, Boolean)

設定記錄中某個欄位的值。

SetBoolean(Int32, Boolean)

設定記錄中某個欄位的值。

(繼承來源 DbUpdatableDataRecord)
SetByte(Int32, Byte)

設定記錄中某個欄位的值。

SetByte(Int32, Byte)

設定記錄中某個欄位的值。

(繼承來源 DbUpdatableDataRecord)
SetChar(Int32, Char)

設定記錄中某個欄位的值。

SetChar(Int32, Char)

設定記錄中某個欄位的值。

(繼承來源 DbUpdatableDataRecord)
SetDataRecord(Int32, IDataRecord)

設定記錄中某個欄位的值。

SetDataRecord(Int32, IDataRecord)

設定記錄中某個欄位的值。

(繼承來源 DbUpdatableDataRecord)
SetDateTime(Int32, DateTime)

設定記錄中某個欄位的值。

SetDateTime(Int32, DateTime)

設定記錄中某個欄位的值。

(繼承來源 DbUpdatableDataRecord)
SetDBNull(Int32)

將欄位設定為 DBNull 值。

SetDBNull(Int32)

將欄位設定為 DBNull 值。

(繼承來源 DbUpdatableDataRecord)
SetDecimal(Int32, Decimal)

設定記錄中某個欄位的值。

SetDecimal(Int32, Decimal)

設定記錄中某個欄位的值。

(繼承來源 DbUpdatableDataRecord)
SetDouble(Int32, Double)

設定記錄中某個欄位的值。

SetDouble(Int32, Double)

設定記錄中某個欄位的值。

(繼承來源 DbUpdatableDataRecord)
SetFloat(Int32, Single)

設定記錄中某個欄位的值。

SetFloat(Int32, Single)

設定記錄中某個欄位的值。

(繼承來源 DbUpdatableDataRecord)
SetGuid(Int32, Guid)

設定記錄中某個欄位的值。

SetGuid(Int32, Guid)

設定記錄中某個欄位的值。

(繼承來源 DbUpdatableDataRecord)
SetInt16(Int32, Int16)

設定記錄中某個欄位的值。

SetInt16(Int32, Int16)

設定記錄中某個欄位的值。

(繼承來源 DbUpdatableDataRecord)
SetInt32(Int32, Int32)

設定記錄中某個欄位的值。

SetInt32(Int32, Int32)

設定記錄中某個欄位的值。

(繼承來源 DbUpdatableDataRecord)
SetInt64(Int32, Int64)

設定記錄中某個欄位的值。

SetInt64(Int32, Int64)

設定記錄中某個欄位的值。

(繼承來源 DbUpdatableDataRecord)
SetRecordValue(Int32, Object)

設定記錄中某個欄位的值。

SetRecordValue(Int32, Object)

設定記錄中某個欄位的值。

(繼承來源 DbUpdatableDataRecord)
SetString(Int32, String)

設定記錄中某個欄位的值。

SetString(Int32, String)

設定記錄中某個欄位的值。

(繼承來源 DbUpdatableDataRecord)
SetValue(Int32, Object)

設定記錄中某個欄位的值。

SetValue(Int32, Object)

設定記錄中某個欄位的值。

(繼承來源 DbUpdatableDataRecord)
SetValues(Object[])

設定記錄中的欄位值。

SetValues(Object[])

設定記錄中的欄位值。

(繼承來源 DbUpdatableDataRecord)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

明確介面實作

ICustomTypeDescriptor.GetAttributes()

傳回元件之這個執行個體的自訂屬性集合。

(繼承來源 DbDataRecord)
ICustomTypeDescriptor.GetClassName()

傳回這個元件執行個體的類別名稱。

(繼承來源 DbDataRecord)
ICustomTypeDescriptor.GetComponentName()

傳回這個元件執行個體的名稱。

(繼承來源 DbDataRecord)
ICustomTypeDescriptor.GetConverter()

傳回這個元件執行個體的類型轉換子。

(繼承來源 DbDataRecord)
ICustomTypeDescriptor.GetDefaultEvent()

傳回這個元件執行個體的預設事件。

(繼承來源 DbDataRecord)
ICustomTypeDescriptor.GetDefaultProperty()

傳回這個元件執行個體的屬性。

(繼承來源 DbDataRecord)
ICustomTypeDescriptor.GetEditor(Type)

傳回元件的這個執行個體之指定類型編輯器。

(繼承來源 DbDataRecord)
ICustomTypeDescriptor.GetEvents()

傳回這個元件執行個體的事件。

(繼承來源 DbDataRecord)
ICustomTypeDescriptor.GetEvents(Attribute[])

使用指定屬性陣列做為篩選條件傳回元件之執行個體的事件。

(繼承來源 DbDataRecord)
ICustomTypeDescriptor.GetProperties()

傳回元件之這個執行個體的屬性。

(繼承來源 DbDataRecord)
ICustomTypeDescriptor.GetProperties(Attribute[])

使用屬性陣列做為篩選條件,傳回這個元件執行個體的屬性。

(繼承來源 DbDataRecord)
ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor)

傳回物件,包含指定的屬性描述項所描述的屬性。

(繼承來源 DbDataRecord)
IDataRecord.GetData(Int32)

在所有情況下都會擲回 NotSupportedException 例外狀況。

IDataRecord.GetData(Int32)

將欄位值擷取成 IDataReader

(繼承來源 DbUpdatableDataRecord)

適用於