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)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Sub Parse ( _ sqlString As String, _ recognizer As ParameterParser..::.IRecognizer _ ) |
C# |
---|
public static void Parse( string sqlString, ParameterParser..::.IRecognizer recognizer ) |
Visual C++ |
---|
public: static void Parse( String^ sqlString, ParameterParser..::.IRecognizer^ recognizer ) |
JavaScript |
---|
NHibernate.Engine.Query.ParameterParser.parse = function(sqlString, 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 |