ExecuteStoredProcedure(T) Method (String, ParameterSet, Int32)

Executes the stored procedure using the specified parameters and returns the return value of the stored procedure as an integer.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.Data
Assembly:  Microsoft.Dynamics.Commerce.Runtime (in Microsoft.Dynamics.Commerce.Runtime.dll)

protected ReadOnlyCollection<T> ExecuteStoredProcedure<T>(
	string procedureName,
	ParameterSet parameters,
	out int returnValue
)
where T : new(), CommerceEntity

Type Parameters

T

Parameters

procedureName
Type: System.String
parameters
Type: Microsoft.Dynamics.Commerce.Runtime.ParameterSet
returnValue
Type: System.Int32

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<T>
A collection of CommerceEntity objects.

Community Additions

Show: