Do you need to have both? You could have the first and then to access the ID you could use "Report.ReportID" (or whatever the ID is called in the Report table).
On 1 Apr 2009, at 15:52, khaavren of castlerock <[email protected] > wrote: > > Hello, > > I'm wondering if there is something I need to do to get the following > to work without creating undesirable results: > > [BelongsTo("ReportID")] > public virtual Report Report { get; set; } > > [Property] > public int ReportID { get; set; } > > Thanks > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
