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 包含 DbDataRecordObjectStateEntry追蹤的物件或關係的視圖。

CurrentValueRecord 實作 IExtendedDataRecord,提供唯讀存取實體、關係及元資料的當前值。

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

屬性

名稱 Description
DataRecordInfo

回傳資料記錄資訊。

DataRecordInfo

取得資料記錄資訊。

(繼承來源 DbUpdatableDataRecord)
FieldCount

回傳記錄中的欄位數量。

FieldCount

取得記錄中的欄位數量。

(繼承來源 DbUpdatableDataRecord)
Item[Int32]

回傳給定欄位序數的值。

Item[Int32]

回傳的值是該欄位的序數。

(繼承來源 DbUpdatableDataRecord)
Item[String]

會得到一個欄位名稱的值。

Item[String]

會得到一個包含該欄位名稱的值。

(繼承來源 DbUpdatableDataRecord)

方法

名稱 Description
Equals(Object)

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

(繼承來源 Object)
GetBoolean(Int32)

以布林值的形式取得場值。

GetBoolean(Int32)

以布林值的形式取得場值。

(繼承來源 DbUpdatableDataRecord)
GetByte(Int32)

以位元組形式取得欄位值。

GetByte(Int32)

以 . 來取得場值 byte

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

以位元組陣列的形式取得欄位值。

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

以陣列形式取得欄位值 byte

(繼承來源 DbUpdatableDataRecord)
GetChar(Int32)

以角色形式取得欄位值。

GetChar(Int32)

以 . 來取得場值 char

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

以 char 陣列的形式取得欄位值。

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)

將場值取為雙重值。

GetDouble(Int32)

以 . 來取得場值 double

(繼承來源 DbUpdatableDataRecord)
GetFieldType(Int32)

取得欄位的類型。

GetFieldType(Int32)

取得欄位的類型。

(繼承來源 DbUpdatableDataRecord)
GetFloat(Int32)

以浮點數取出欄位值。

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)

明確介面實作

名稱 Description
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)

適用於