ObjectBinder(T) Class
Collapse the table of content
Expand the table of content

ObjectBinder<T> Class

Provides iterative access to strongly typed objects Wraps the functionality of the SqlDataReader so that it does not have to be referred to in the business layer.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

public abstract class ObjectBinder<T> : IEnumerable<T>, 

Type Parameters


The ObjectBinder<T> type exposes the following members.

Protected methodObjectBinder<T>()Default Constructor
Protected methodObjectBinder<T>(SqlDataReader, String)Constuctor that will be used when this binder is not being used as part of a result collection

Protected propertyBaseReader
Public propertyCurrentGets/Sets Current Object
Public propertyItemsReturns strongly typed list of all items in the reader cannot call after use of MoveNext method.
Protected propertyProcedureName
Protected propertyReader

Protected methodBindAbstract Bind method to be implemented by the derived class.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetEnumeratorThe object binder is a streaming enumerable and uses an internal object as the enumerator. This means it does not support being able to reset the enumerator. Also all requests to obtain an enumerator will use this object
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodMoveNextMoves to the next Object.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2016 Microsoft