dotConnect for PostgreSQL includes settings for disabling code formatting. This reduces the size of generated SQL statements a bit. The formatting can be completely enabled or disabled using the PgSqlEntityProviderConfig.SqlFormatting.Enable() or PgSqlEntityProviderConfig.SqlFormatting.Disable() methods respectively. More specific settings are available as well:
ColumnListStacking - disables inserting new lines in the SELECT list. If set to true, the list looks like the following:
SELECT "Extent1"."CompanyID", "Extent1"."CompanyName", "Extent1"."Web", "Extent1"."Email", "Extent1"."Address_AddressTitle", "Extent1"."Address_Address", "Extent1"."Address_City", ...
instead of
SELECT "Extent1"."CompanyID", "Extent1"."CompanyName", "Extent1"."Web", "Extent1"."Email", "Extent1"."Address_AddressTitle", "Extent1"."Address_Address", "Extent1"."Address_City", ...
These options can be set either in code as the properties of the EntityProviderConfig.SqlFormatting object or in the project config file as the attributes of the SqlFormatting element of the Devart.Data.PostgreSql.Entity tag.