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 NHibernate 2.1 and Castle.core.dll 1.1.0.6093. Is this a known bug?
Mike
--
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en.