ASP.NET MVC Navigational Property -


i'm looking add navigational property 'registration' class, can access parent 'person'.

ideally, able add public overrideable property parentperson person, can't seem work complains principle end of association.

public class person     <required()>     public property id integer      <required()>     <stringlength(150)>     public property firstname string      <required()>     <stringlength(150)>     public property lastname string      public overridable property registration registration end class  public class registration      <required()>     public property id integer       public property registrationdate date      public overridable property sessions list(of registrationsession)  end class 


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -