Generator for obtaining and mapping data from the database. Generates methods (synchronous and/or asynchronous):
-
Creating a Command for a query
-
Method of setting parameters in a Command
-
Command execution, with data mapping
-
Creating a QueryBatch Command
-
Setting parameters in a QueryBatch Command
-
Get data from a batch Command
-
Receiving data from a batch of queries, with data mapping
-
Getting data based on a query, with data mapping
There are versions for all of these methods (if possible):
- Query
- NonQuery
- ЕecuteScalar (return type is determined automatically at the generation stage)
Both static and dynamic queries are supported. Dynamic parameters are supported. Multi-mapping is supported. It also generates methods specific to each provider, such as BinaryImport and BinaryExport in PostgreSQL.
Supported databases(see examples and documentation in the relevant DB package):