Method ParseAndThrow
| Improve this Doc View SourceParseAndThrow(String)
Start the parsing to extract the SQL statements from a data source.
Declaration
public ISqlCollection ParseAndThrow(string source)
Parameters
Type | Name | Description |
---|---|---|
String | source | The data source to parsing. |
Returns
Type | Description |
---|---|
ISqlCollection | A collection containing the tags with their associated SQL statements. |
Remarks
This method throws an exception when there is more than one parsing error.
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
YeSqlParserException | If the parser encounters one or more errors. |