EntityDataReader 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
entity client provider 的資料讀取類別
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1010:CollectionsShouldImplementGenericInterface")]
public class EntityDataReader : System.Data.Common.DbDataReader, System.Data.Entity.Core.IExtendedDataRecord
type EntityDataReader = class
inherit DbDataReader
interface IExtendedDataRecord
interface IDataRecord
Public Class EntityDataReader
Inherits DbDataReader
Implements IExtendedDataRecord
- 繼承
-
EntityDataReader
- 屬性
- 實作
屬性
| 名稱 | Description |
|---|---|
| DataRecordInfo | |
| Depth |
取得值,指出目前數據列的巢狀深度。 |
| FieldCount |
取得目前數據列中的數據行數目。 |
| HasRows |
會得到一個值,表示該資料 EntityDataReader 是否包含一列或多列。 |
| IsClosed |
會得到一個值,表示是否 EntityDataReader 封閉。 |
| Item[Int32] |
取得指定欄位的值,作為 的 Object實例。 |
| Item[String] |
取得指定欄位的值,作為 的 Object實例。 |
| RecordsAffected |
取得執行 SQL 陳述句時所變更、插入或刪除的列數。 |
| VisibleFieldCount |
取得中未被隱藏的欄位 EntityDataReader 數量。 |