Compiler Error

Posts   
 
    
JonT
User
Posts: 2
Joined: 02-Aug-2006
# Posted on: 02-Aug-2006 15:19:53   

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.

JonT
User
Posts: 2
Joined: 02-Aug-2006
# Posted on: 02-Aug-2006 15:26:14   

Please disregard my bug report. My problem is that I had a DB Field in this entity with the name of RelationType.