StoredProcedureServiceExecuteStoredProcedureT Method

Executes a Flashpoint-registered stored procedure and returns the result

Definition

Namespace: Ignition.Framework.DirectDatabaseAccess
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public IReadOnlyCollection<T> ExecuteStoredProcedure<T>(
	string registeredStoredProcedureName,
	Object parameters = null,
	int maxResults = 0
)
where T : new()

Parameters

registeredStoredProcedureName  String
The registered-name of the stored procedure to call
parameters  Object  (Optional)
A flex-compatible object containing the parameters to the stored procedure
maxResults  Int32  (Optional)
The maximum number of results to return. 0 means "return all results"

Type Parameters

T
A type whose properties have NetForumFieldAttribute attributes with column names matching the columns returned by the stored procedure.

Return Value

IReadOnlyCollectionT
The results of the stored procedure call, bound to new objects of type T

See Also