Support customized SQL formater for SchemaExport

Description

The default SQL formatter that comes with NHibernate adds extraneous indentation. IFormatter interface is public but SchemaExport doesn't expose an interface to set its formatter. Working around with reflection is definitely not elegant.

Hope that a formatter class can be specified in addition to the format_sql boolean configuration setting, so that customized formatter can be used.

Environment

None

Status

Assignee

Unassigned

Reporter

Yufan Lou

Labels

Components

Affects versions

Priority

Trivial
Configure