Knight Data Access Layer
ExecuteScalarSproc(String,Dictionary<String,Object>) Method




KellermanSoftware.NetDataAccessLayer Namespace > BaseStoredProcedureProvider Class > ExecuteScalarSproc Method : ExecuteScalarSproc(String,Dictionary<String,Object>) Method
Name of the stored procedure
The parameters to use for the stored procedure
Execute the passed stored procedure and return the first column of the first row
Syntax
Public Overloads Overridable Function ExecuteScalarSproc( _
   ByVal storedProcedure As String, _
   ByVal parameters As Dictionary(Of String,Object) _
) As Object
Dim instance As BaseStoredProcedureProvider
Dim storedProcedure As String
Dim parameters As Dictionary(Of String,Object)
Dim value As Object
 
value = instance.ExecuteScalarSproc(storedProcedure, parameters)
public virtual object ExecuteScalarSproc( 
   string storedProcedure,
   Dictionary<string,object> parameters
)
public: virtual Object* ExecuteScalarSproc( 
   string* storedProcedure,
   Dictionary<string*,Object*>* parameters
) 
public:
virtual Object^ ExecuteScalarSproc( 
   String^ storedProcedure,
   Dictionary<String^,Object^>^ parameters
) 

Parameters

storedProcedure
Name of the stored procedure
parameters
The parameters to use for the stored procedure
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BaseStoredProcedureProvider Class
BaseStoredProcedureProvider Members
Overload List