When debugging everything appears good. The insert commits and there is no roll back, no exceptions. I sure hope some can help with this.
Here is my call:
using (ITransaction transaction = _session.BeginTransaction())
{
_session.Save(calc);
transaction.Commit();
}
Real simple mapping:
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
assembly="SigCalculator"
namespace="SigCalculator.Domain">
<id name="ID">
<generator class="guid" />
</id>
<property name="Time" />
<property name="Equation" />
here's the object:
public class Calculation
{
public virtual Guid ID { get; set; }
public virtual DateTime Time { get; set; }
public virtual string Equation { get; set; }
}