This is part of the FAQs

Sometimes you may need to map a table that is in a different schema than the rest of your tables, to do this you need to use the Schema method on the ClassMap of your entity.

public class PersonMap : ClassMap<Person>
  public PersonMap()

If you want to explicitly specify the schema for all the entities in your application, then you can use the database configuration to set that. There's also evidence that explicitly setting the schema can yield performance increases for querying.

To set the schema for your entire application, use the DefaultSchema method on your favorite DatabaseConfiguration.


Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.