C# Class BusinessLogic.Logic.PlayedGames.ApplicationLinker

Inheritance: IApplicationLinker
Datei anzeigen Open project: NemeStats/NemeStats Class Usage Examples

Public Methods

Method Description
ApplicationLinker ( IDataContext dataContext ) : BusinessLogic.DataAccess
LinkApplication ( int playedGameId, string applicationName, string entityId ) : void

LinkedPlayedGameValidator should be called before calling this method since validation can occur before saving the PlayedGame and this method requires the PlayedGame to be saved first.

Method Details

ApplicationLinker() public method

public ApplicationLinker ( IDataContext dataContext ) : BusinessLogic.DataAccess
dataContext IDataContext
return BusinessLogic.DataAccess

LinkApplication() public method

LinkedPlayedGameValidator should be called before calling this method since validation can occur before saving the PlayedGame and this method requires the PlayedGame to be saved first.
public LinkApplication ( int playedGameId, string applicationName, string entityId ) : void
playedGameId int
applicationName string
entityId string
return void