First off; Awesome project (just discovered this).

Is it possible set up the mapping externally in some sort of xml configuration file (without using attributes)right now?
If not, is it planned for future?

The reason i ask is because i started playing around with nhibernate recently, and really like the fact that i did not have to polute(for lack of a better term) the code file with attributes.

e.g.
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                   assembly="Something.Core"
                   namespace="Something.Core.Data.Models">

  <class name="User">
    <id name="Id">
      <generator class="native"></generator>
    </id>
    <property name="FirstName" />
    <property name="LastName" />
  </class>

</hibernate-mapping>

Reply via email to