C# Class BolfTracker.Infrastructure.EntityFramework.PlayerGameStatisticsRepository

Inheritance: IPlayerGameStatisticsRepository
Mostrar archivo Open project: mkchandler/bolf-tracker-mvc

Public Methods

Method Description
Add ( BolfTracker.Models.PlayerGameStatistics model ) : void
All ( ) : IEnumerable
Delete ( BolfTracker.Models.PlayerGameStatistics model ) : void
DeleteAll ( ) : void
DeleteByGame ( int gameId ) : void
DeleteByMonthAndYear ( int month, int year ) : void
GetById ( int id ) : BolfTracker.Models.PlayerGameStatistics
GetByMonthAndYear ( int month, int year ) : IEnumerable
GetByPlayer ( int playerId ) : IEnumerable
GetByPlayerMonthAndYear ( int playerId, int month, int year ) : IEnumerable

Method Details

Add() public method

public Add ( BolfTracker.Models.PlayerGameStatistics model ) : void
model BolfTracker.Models.PlayerGameStatistics
return void

All() public method

public All ( ) : IEnumerable
return IEnumerable

Delete() public method

public Delete ( BolfTracker.Models.PlayerGameStatistics model ) : void
model BolfTracker.Models.PlayerGameStatistics
return void

DeleteAll() public method

public DeleteAll ( ) : void
return void

DeleteByGame() public method

public DeleteByGame ( int gameId ) : void
gameId int
return void

DeleteByMonthAndYear() public method

public DeleteByMonthAndYear ( int month, int year ) : void
month int
year int
return void

GetById() public method

public GetById ( int id ) : BolfTracker.Models.PlayerGameStatistics
id int
return BolfTracker.Models.PlayerGameStatistics

GetByMonthAndYear() public method

public GetByMonthAndYear ( int month, int year ) : IEnumerable
month int
year int
return IEnumerable

GetByPlayer() public method

public GetByPlayer ( int playerId ) : IEnumerable
playerId int
return IEnumerable

GetByPlayerMonthAndYear() public method

public GetByPlayerMonthAndYear ( int playerId, int month, int year ) : IEnumerable
playerId int
month int
year int
return IEnumerable