Version 1.0.2005.1 Final
Generator: SelfServicing, two class scenario (Full) Vs.Net 2005
Template: C# template set For SQL Server (1.0.2005.1)
I am getting the following error when compiling this one entity. All others are compiling fine. The last parameter RelationType is hilited.
An object reference is required for the nonstatic field, method, or property 'CustomerSupportBLL.EntityClasses.IssueTrackerRelatedIssuesEntityBase.RelationType.get'
with the Line code as follows
return new PrefetchPathElement(new CustomerSupportBLL.CollectionClasses.IssueTrackerIssuesCollection(),
IssueTrackerRelatedIssuesEntity.Relations.IssueTrackerIssuesEntityUsingPrimaryIssueId,
(int)CustomerSupportBLL.EntityType.IssueTrackerRelatedIssuesEntity, (int)CustomerSupportBLL.EntityType.IssueTrackerIssuesEntity, 0, null, null, null, "IssueTrackerIssues", RelationType.ManyToOne);
Thanks for any suggestions/solutions.