Multiple database on Nhibernate

Multiple database is supported by Nhibernate.
Example below is using schema tag (bold) on hbm.xml file :


<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" auto-import="true" schema="worktracking">




Schema means = Database name
But, this method only work on the same server.

Okay, may it helps

No comments:

Post a Comment