Not an Issue
Details
Assignee
Pierre Henri KuatéPierre Henri KuatéReporter
Jay TuleyJay TuleyComponents
Affects versions
Priority
MajorWho's Looking?
Open Who's Looking?
Details
Details
Assignee
Pierre Henri Kuaté
Pierre Henri KuatéReporter
Jay Tuley
Jay TuleyComponents
Affects versions
Priority
Who's Looking?
Open Who's Looking?
Created December 14, 2005 at 8:55 AM
Updated July 9, 2008 at 11:54 PM
Resolved December 21, 2005 at 3:49 AM
I tried to use NHibernate.Mapping.Attributes.JoinedSubclass, but a joined-subclass requires a key child element, and when I specify the key as shown:
[NHibernate.Mapping.Attributes.JoinedSubclass(0,ExtendsType=typeof(Fund))]
[NHibernate.Mapping.Attributes.Key(1,Column="FUND_ROW_ID")]
public class PlanFund:Fund
I recieve this error:
error CS0592: Attribute 'NHibernate.Mapping.Attributes.Key' is not valid on this declaration type. It is valid on 'property, field' declarations only.