Entity field not showing up in intellisense.

Posts   
 
    
Isz
User
Posts: 108
Joined: 26-Jan-2006
# Posted on: 21-Feb-2006 06:02:32   

I might be missing something obvious but I am for some reason not able to access any of the fields in an entity mapped on another entity.

For example, I have the following tables...

student 1:m student_user_log_tank m:1 user_log faculty 1:m faculty_user_log_tank m:1 user_log

When I access student_user_log_tank through student, as in...

studentEntity.StudentUserLogTank.UserLogId == this.UserLogId

UserLogId is available in the .Net intellisense as a property I can select. But when I do the same for faculty, as in...

facultyEntity.FaultyUserLogTank.xxxxx == this.UserLogId

UserLogId is not available. In fact none of the field properties are available when I try to access the properties of faculty_user_log_tank through faculty. I am using 1.0.2005.1. Tried rebuilding, removing relation, regenereating, and no errors in the generated output.

Am I missing something?

Isz
User
Posts: 108
Joined: 26-Jan-2006
# Posted on: 21-Feb-2006 06:12:18   

Nevermind... I found I had a made unique constraint for which one of the elements was on a nullable field. I removed this and all the properties showed up.