C# Class BolfTracker.Infrastructure.EntityFramework.PlayerRivalryStatisticsRepository

Inheritance: IPlayerRivalryStatisticsRepository
显示文件 Open project: mkchandler/bolf-tracker-mvc

Public Methods

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

Method Details

Add() public method

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

All() public method

public All ( ) : IEnumerable
return IEnumerable

Delete() public method

public Delete ( BolfTracker.Models.PlayerRivalryStatistics model ) : void
model BolfTracker.Models.PlayerRivalryStatistics
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.PlayerRivalryStatistics
id int
return BolfTracker.Models.PlayerRivalryStatistics

GetByPlayer() public method

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