asp.net - Multiple FK on same column in EF with VB -


i have class called event_game_schedule

in class, have,

seasonid string foreignkey("hometeam") hometeamid string foreignkey("visitorteam") visitorteamid string  public overridable property hometeam team public overridable property visitorteam team 

i have public override of hometeam team , visitorteam team works great cause link using on 2 ids ..as team pk teamid

what want change team teamseason -- problem teamseason needs teamid,seasonid pk

<foreignkey("visitorteam","hometeam"),column(order:=1)> seasonid string <foreignkey("hometeam"),column(order:=0)> hometeamid string <foreignkey("visitorteam"),column(order:=0)> visitorteamid string 

public overridable property hometeam team public overridable property visitorteam team

i have been unable figure out how can use seasonid in multiple fk references @ same time in same class

it used reference season (but can season thru teamseason non issue.

how do this?

thanks


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

Command prompt result in label. Python 2.7 -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -