Share via


SprocAccessor<TResult> Class

Represents a stored procedure call to the database that will return an enumerable of TResult.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Data
Assembly:  Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)

Syntax

'Declaration
Public Class SprocAccessor(Of TResult) _
    Inherits CommandAccessor(Of TResult)
public class SprocAccessor<TResult> : CommandAccessor<TResult>
generic<typename TResult>
public ref class SprocAccessor : public CommandAccessor<TResult>
JScript does not support generic types or methods.

Type Parameters

  • TResult
    The element type that will be used to consume the result set.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Data.DataAccessor<TResult>
    Microsoft.Practices.EnterpriseLibrary.Data.CommandAccessor<TResult>
      Microsoft.Practices.EnterpriseLibrary.Data.SprocAccessor<TResult>

See Also

SprocAccessor<TResult> Members

Microsoft.Practices.EnterpriseLibrary.Data Namespace