Performs the actual parsing and tokenizing of the query string making appropriate
callbacks to the given recognizer upon recognition of the various tokens.
Namespace: NHibernate.Engine.QueryAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static void Parse( string sqlString, ParameterParser..::..IRecognizer recognizer ) |
Visual Basic |
---|
Public Shared Sub Parse ( _ sqlString As String, _ recognizer As ParameterParser..::..IRecognizer _ ) |
Visual C++ |
---|
public: static void Parse( String^ sqlString, ParameterParser..::..IRecognizer^ recognizer ) |
Parameters
- sqlString
- Type: System..::..String
The string to be parsed/tokenized.
- recognizer
- Type: NHibernate.Engine.Query..::..ParameterParser..::..IRecognizer
The thing which handles recognition events.
Remarks
Note that currently, this only knows how to deal with a single output
parameter (for callable statements). If we later add support for
multiple output params, this, obviously, needs to change.
Exceptions
Exception | Condition |
---|---|
NHibernate..::..QueryException |