コード例 #1
0
		public TeamHelper(WcfRelation relation)
		{
			WcfTeam team = WcfHelper.client.GetTeamById(relation.TeamId);
			this.Id = team.Id;
			this.Name = team.Name;
			this.Relation = relation;
		}
コード例 #2
0
 public void DeleteRelation(WcfRelation relation)
 {
     Database.DeleteSeasonsToTeamsRelation(Database.GetSeasonsToTeamsRelationById(relation.Id));
 }