I'm trying to figure out if Castle/NHibernate works under Mono.

So far, I'm running into the following problem.  I have the following
code:


     [Property(NotNull = true, ColumnType = "KPCServer.Price,
Website")]
     public Price VendorFees
     {
        get { return vendorfees; }
        set { vendorfees = value; }
     }

When I run it, I get the following error:

Unhandled Exception: NHibernate.MappingException: Could not determine
type for: KPCServer.Price, Website, for columns:
NHibernate.Mapping.Column(VendorFees)

I do not get this error when I run the same code under .NET.

BTW, the Price type is in the same DLL and looks like:


  [Serializable]
  public class Price : IComparable, IFormattable, IComparable<int>,
IEquatable<int>, NHibernate.UserTypes.IUserType
  {
  ...
  }

I'm running Castle ActiveRecord 3.0 RC.

Mike

Reply via email to