Nick
Nick

Reputation: 19684

How do I output the HBMs that Fluent NHibernate Creates?

I am trying to debug my fluent application and would like to see what the generated files look like.

What are the ways to view them?

Is there a way to export them?

Upvotes: 6

Views: 938

Answers (2)

Julian Birch
Julian Birch

Reputation: 2778

Also

.Mappings(m => m.AutoMappings.ExportTo("path"))

:)

Upvotes: 1

Nick
Nick

Reputation: 19684

Nevermind!

.Mappings(m => m.FluentMappings.ExportTo("path"))

Upvotes: 6

Related Questions