Click or drag to resize
Galactic API

StoredProcedureAddNVarCharParameter Method

Adds an Unicode variable character parameter to the procedure. Strings longer than SqlUtility.MAX_NVARCHAR_LENGTH and the length argument are truncated to fit.

Namespace:  Galactic.Sql
Assembly:  Galactic.Sql (in Galactic.Sql.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public abstract bool AddNVarCharParameter(
	string name,
	string value,
	int length,
	StoredProcedureParameterType direction
)

Parameters

name
Type: SystemString
The name of the parameter to add.
value
Type: SystemString
The value of the parameter to add.
length
Type: SystemInt32
The length of the variable character parameter.
direction
Type: Galactic.SqlStoredProcedureParameterType
The direction of the parameter. Use one of the class parameter constants. Defaults to IN.

Return Value

Type: Boolean
True if the parameter is added, false otherwise.

Implements

IStoredProcedureAddNVarCharParameter(String, String, Int32, StoredProcedureParameterType)
See Also