Click or drag to resize
Galactic API

StoredProcedure Class

An SQL Stored Procedure.
Inheritance Hierarchy

Namespace:  Galactic.Sql
Assembly:  Galactic.Sql (in Galactic.Sql.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public abstract class StoredProcedure : IExceptionLogger, 
	IStoredProcedure

The StoredProcedure type exposes the following members.

Constructors
  NameDescription
Protected methodStoredProcedure
Initializes a new instance of the StoredProcedure class
Top
Properties
  NameDescription
Public propertyCommand
The command to be sent to the database.
Public propertyConnection
The connection to the database.
Public propertyLog
The event log that will receive events from this logger.
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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecute
Executes the procedure.
Public methodExecuteNonQuery
Executes a non query procedure (Insert, Update, Delete).
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
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.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLogException
Logs an exception to the event log.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldlog
The event log that will receive events from this logger.
Top
See Also