SQLiteConnection.Query Method (TableMapping, String,Object[]) |
Creates a SQLiteCommand given the command text (SQL) with arguments. Place a '?'
in the command text for each of the arguments and then executes that command.
It returns each row of the result using the specified mapping. This function is
only used by libraries in order to query the database via introspection. It is
normally not used.
Namespace:
SQLite
Assembly:
RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntaxpublic List<Object> Query(
TableMapping map,
string query,
params Object[] args
)
Parameters
- map
- Type: SQLite.TableMapping
A TableMapping to use to convert the resulting rows
into objects.
- query
- Type: System.String
The fully escaped SQL.
- args
- Type:System.Object[]
Arguments to substitute for the occurences of '?' in the query.
Return Value
Type:
List<Object>
An enumerable with one result for each row returned by the query.
See Also