AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

IDAO..::..ExecuteCommand Method (String, IDataAccessable, String)

A method that will execute a stored procedure in the database that will return a result set.

Namespace:  AdvantageCMS.Data.Interfaces
Assembly:  AdvantageCMS.Data (in AdvantageCMS.Data.dll)

Syntax


void ExecuteCommand(
	string commandName,
	IDataAccessable dataObject,
	string connectionName
)

Parameters

commandName
Type: String
The name of the stored procedure to execute.
dataObject
Type: AdvantageCMS.Data.Interfaces..::..IDataAccessable
The business entity that will contain the parameters for the stored procedure and the result set.
connectionName
Type: String
The connection string for the database