Click or drag to resize
Galactic API

IStoredProcedure Interface

An Interface for SQL Stored Procedures.

Namespace:  Galactic.Sql
Assembly:  Galactic.Sql (in Galactic.Sql.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public interface IStoredProcedure

The IStoredProcedure type exposes the following members.

Properties
  NameDescription
Public propertyCommand
The command to be sent to the database.
Public propertyConnection
The connection to the database.
Public propertyName
The name of the stored procedure.
Top
Methods
  NameDescription
Public methodAddBooleanParameter
Adds a boolean parameter to the procedure.
Public methodAddDateTimeParameter
Adds a date and time parameter to the procedure.
Public methodAddInt32Parameter
Adds a 32-bit integer parameter to the procedure.
Public methodAddInt64Parameter
Adds a 64-bit integer parameter to the procedure.
Public methodAddNCharParameter
Adds an Unicode fixed length character parameter to the procedure. Strings longer than SqlUtility.MAX_NVARCHAR_LENGTH and the length argument are truncated to fit.
Public methodAddNVarCharParameter
Adds an Unicode variable character parameter to the procedure. Strings longer than SqlUtility.MAX_NVARCHAR_LENGTH and the length argument are truncated to fit.
Public methodAddParameter
Adds a parameter to the procedure.
Public methodAddVarCharParameter
Adds an Non-Unicode variable character parameter to the procedure. Strings longer than SqlUtility.MAX_VARCHAR_LENGTH and the length argument are truncated to fit.
Public methodExecute
Executes the procedure.
Public methodExecuteNonQuery
Executes a non query procedure (Insert, Update, Delete).
Public methodGetParameter
Gets a parameter's value from the procedure.
Public methodGetParamName
Prepends a @ to the name of the parameter for use in SQL calls.
Top
See Also