Please use the nhusers group; this is the group of dev-team.
Btw:
1) columntype != type
2) the IUserType implementation should not be the same type used in your domain.

--
Fabio Maulo


El 03/08/2011, a las 22:08, Mike Christensen <[email protected]> escribió:

> 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