private void detach_MatchParticipations(MatchParticipation entity)
		{
			this.SendPropertyChanging();
			entity.Match = null;
		}
예제 #2
0
        private static BDDModel.MatchParticipation CreateMatchParticipation(SoccerDataModelDataContext theContext, RealtimePlayer playerRT, bool asHome)
        {
            BDDModel.MatchParticipation part = new BDDModel.MatchParticipation();

            part.AsHome = asHome;
            part.Goals = 0;
            part.TurnsPlayed = 0;
            part.Team = GetPlayerForRealtimePlayer(theContext, playerRT).Team;

            return part;
        }
		private void attach_MatchParticipations(MatchParticipation entity)
		{
			this.SendPropertyChanging();
			entity.Team = this;
		}