ObjectBinder<T> 類別
提供對強型別 (Strongly Typed) 物件組重複存取 SqlDataReader>的功能,讓它在商務層不需要參考。
繼承階層架構
System.Object
Microsoft.TeamFoundation.Framework.Server.ObjectBinder<T>
Microsoft.TeamFoundation.Framework.Server.DatabasePartitionBinder
Microsoft.TeamFoundation.Framework.Server.DatabaseTenantUsageBinder
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public MustInherit Class ObjectBinder(Of T) _
Implements IEnumerable(Of T), IEnumerable
public abstract class ObjectBinder<T> : IEnumerable<T>,
IEnumerable
型別參數
- T
ObjectBinder<T> 型別會公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
ObjectBinder<T>() | 預設建構函式 |
![]() |
ObjectBinder<T>(SqlDataReader, String) | 要當做結果集合的一部分, Constuctor 時,繫結器 (Binder) 不使用 |
回頁首
屬性
名稱 | 說明 | |
---|---|---|
![]() |
Current | 取得或設定目前物件 |
![]() |
Items | 所有項目傳回強型別的清單讀取器中無法呼叫 MoveNext 方法之後使用。 |
![]() |
ProcedureName | |
![]() |
Reader |
回頁首
方法
名稱 | 說明 | |
---|---|---|
![]() |
Bind | 衍生類別會實作抽象的繫結方法。 |
![]() |
Equals | 判斷指定的物件是否等於目前物件。 (繼承自 Object)。 |
![]() |
Finalize | 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。 |
![]() |
GetEnumerator | 物件繫結器 (Binder) 為資料流可列舉並使用內部物件為列舉值。這表示它不支援可以重設列舉值。的任何要求取得列舉值將會使用這個物件 |
![]() |
GetHashCode | 做為特定型別的雜湊函式。 (繼承自 Object)。 |
![]() |
GetType | 取得目前執行個體的 Type。 (繼承自 Object)。 |
![]() |
MemberwiseClone | 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。 |
![]() |
MoveNext | 移至下一個物件。 |
![]() |
ToString | 傳回表示目前物件的字串。 (繼承自 Object)。 |
回頁首
明確介面實作
名稱 | 說明 | |
---|---|---|
![]() ![]() |
IEnumerable.GetEnumerator |
回頁首
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。不保證任何執行個體成員是安全執行緒。