Fluent Builder
The Fluent Builder
enables you to build dynamic SQL queries using fluent APIs.
The CreateFluent
method on the SimpleSqlBuilder
or ISimpleBuilder
(when using dependency injection) is used to create a new Fluent Builder
instance.
Using fluent APIs you can build SELECT
, INSERT
, UPDATE
and DELETE
queries. The Fluent Builder
will parse the SQL query and extract the parameters from it. The parameters can be accessed via the Parameters
property and the generated SQL query can be accessed via the Sql
property.