Bind an instance of a String to a named parameter using an NHibernate AnsiStringType.

Namespace: NHibernate
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
IMultiQuery SetAnsiString(
	string name,
	string val
)
Visual Basic
Function SetAnsiString ( _
	name As String, _
	val As String _
) As IMultiQuery
Visual C++
IMultiQuery^ SetAnsiString(
	String^ name, 
	String^ val
)

Parameters

name
Type: System..::..String
The name of the parameter
val
Type: System..::..String
A non-null instance of a String.

Return Value

The instance for method chain.

See Also