C# Class BrokenShoeLeague.Data.BrokenShoeLeagueContext

Inheritance: DbContext, IBrokenShoeLeagueRepository
Afficher le fichier Open project: YeeRSoft/broken-shoe-league

Méthodes publiques

Méthode Description
AddComment ( BrokenShoeLeague.Domain.Comment c ) : void
AddPlayerToMatchday ( Matchday matchday, int playerId ) : void
BrokenShoeLeagueContext ( ) : System
CreateImageCarousel ( BrokenShoeLeague.Domain.ImageCarousel imageCarousel ) : void
CreateMatchday ( Matchday matchday ) : void
CreatePlayer ( Player newPlayer ) : void
CreatePlayerRecord ( PlayerRecord playerRecord ) : void
CreateSeason ( Season season ) : void
FindUser ( bool>.Func pred ) : BrokenShoeLeague.Domain.UserProfile
GetAllComments ( ) : IQueryable
GetAllImageCarousel ( ) : IQueryable
GetAllMatchdays ( ) : IQueryable
GetAllPlayerRecords ( ) : IQueryable
GetAllPlayers ( ) : IQueryable
GetAllSeasons ( ) : IQueryable
GetAllUsers ( ) : IQueryable
GetCommentById ( int id ) : BrokenShoeLeague.Domain.Comment
GetImageCarouselById ( int id ) : BrokenShoeLeague.Domain.ImageCarousel
GetMatchdayById ( int id ) : Matchday
GetPlayerById ( int id ) : Player
GetPlayerByName ( string name ) : Player
GetPlayerRecordById ( int id ) : PlayerRecord
GetSeasonById ( int id ) : Season
IBrokenShoeLeagueRepository ( ) : void
MatchdayExist ( int matchdayId ) : bool
PlayerExist ( int playerId ) : bool
RemoveComment ( BrokenShoeLeague.Domain.Comment c ) : void
RemoveComment ( int id ) : void
RemoveImageCarousel ( BrokenShoeLeague.Domain.ImageCarousel imageCarousel ) : void
RemoveMatchday ( Matchday matchday ) : void
RemovePlayer ( Player player ) : void
RemovePlayerRecord ( PlayerRecord playerRecord ) : void
RemoveSeason ( Season season ) : void
SeasonExist ( int seasonId ) : bool
UpdateImageCarousel ( int id, BrokenShoeLeague.Domain.ImageCarousel data ) : void
UpdatePlayer ( Player player ) : void
UpdatePlayerRecord ( int playerRecordId, PlayerRecord data ) : void

Method Details

AddComment() public méthode

public AddComment ( BrokenShoeLeague.Domain.Comment c ) : void
c BrokenShoeLeague.Domain.Comment
Résultat void

AddPlayerToMatchday() public méthode

public AddPlayerToMatchday ( Matchday matchday, int playerId ) : void
matchday BrokenShoeLeague.Domain.Matchday
playerId int
Résultat void

BrokenShoeLeagueContext() public méthode

public BrokenShoeLeagueContext ( ) : System
Résultat System

CreateImageCarousel() public méthode

public CreateImageCarousel ( BrokenShoeLeague.Domain.ImageCarousel imageCarousel ) : void
imageCarousel BrokenShoeLeague.Domain.ImageCarousel
Résultat void

CreateMatchday() public méthode

public CreateMatchday ( Matchday matchday ) : void
matchday BrokenShoeLeague.Domain.Matchday
Résultat void

CreatePlayer() public méthode

public CreatePlayer ( Player newPlayer ) : void
newPlayer BrokenShoeLeague.Domain.Player
Résultat void

CreatePlayerRecord() public méthode

public CreatePlayerRecord ( PlayerRecord playerRecord ) : void
playerRecord BrokenShoeLeague.Domain.PlayerRecord
Résultat void

CreateSeason() public méthode

public CreateSeason ( Season season ) : void
season BrokenShoeLeague.Domain.Season
Résultat void

FindUser() public méthode

public FindUser ( bool>.Func pred ) : BrokenShoeLeague.Domain.UserProfile
pred bool>.Func
Résultat BrokenShoeLeague.Domain.UserProfile

GetAllComments() public méthode

public GetAllComments ( ) : IQueryable
Résultat IQueryable

GetAllImageCarousel() public méthode

public GetAllImageCarousel ( ) : IQueryable
Résultat IQueryable

GetAllMatchdays() public méthode

public GetAllMatchdays ( ) : IQueryable
Résultat IQueryable

GetAllPlayerRecords() public méthode

public GetAllPlayerRecords ( ) : IQueryable
Résultat IQueryable

GetAllPlayers() public méthode

public GetAllPlayers ( ) : IQueryable
Résultat IQueryable

GetAllSeasons() public méthode

public GetAllSeasons ( ) : IQueryable
Résultat IQueryable

GetAllUsers() public méthode

public GetAllUsers ( ) : IQueryable
Résultat IQueryable

GetCommentById() public méthode

public GetCommentById ( int id ) : BrokenShoeLeague.Domain.Comment
id int
Résultat BrokenShoeLeague.Domain.Comment

GetImageCarouselById() public méthode

public GetImageCarouselById ( int id ) : BrokenShoeLeague.Domain.ImageCarousel
id int
Résultat BrokenShoeLeague.Domain.ImageCarousel

GetMatchdayById() public méthode

public GetMatchdayById ( int id ) : Matchday
id int
Résultat BrokenShoeLeague.Domain.Matchday

GetPlayerById() public méthode

public GetPlayerById ( int id ) : Player
id int
Résultat BrokenShoeLeague.Domain.Player

GetPlayerByName() public méthode

public GetPlayerByName ( string name ) : Player
name string
Résultat BrokenShoeLeague.Domain.Player

GetPlayerRecordById() public méthode

public GetPlayerRecordById ( int id ) : PlayerRecord
id int
Résultat BrokenShoeLeague.Domain.PlayerRecord

GetSeasonById() public méthode

public GetSeasonById ( int id ) : Season
id int
Résultat BrokenShoeLeague.Domain.Season

IBrokenShoeLeagueRepository() public méthode

public IBrokenShoeLeagueRepository ( ) : void
Résultat void

MatchdayExist() public méthode

public MatchdayExist ( int matchdayId ) : bool
matchdayId int
Résultat bool

PlayerExist() public méthode

public PlayerExist ( int playerId ) : bool
playerId int
Résultat bool

RemoveComment() public méthode

public RemoveComment ( BrokenShoeLeague.Domain.Comment c ) : void
c BrokenShoeLeague.Domain.Comment
Résultat void

RemoveComment() public méthode

public RemoveComment ( int id ) : void
id int
Résultat void

RemoveImageCarousel() public méthode

public RemoveImageCarousel ( BrokenShoeLeague.Domain.ImageCarousel imageCarousel ) : void
imageCarousel BrokenShoeLeague.Domain.ImageCarousel
Résultat void

RemoveMatchday() public méthode

public RemoveMatchday ( Matchday matchday ) : void
matchday BrokenShoeLeague.Domain.Matchday
Résultat void

RemovePlayer() public méthode

public RemovePlayer ( Player player ) : void
player BrokenShoeLeague.Domain.Player
Résultat void

RemovePlayerRecord() public méthode

public RemovePlayerRecord ( PlayerRecord playerRecord ) : void
playerRecord BrokenShoeLeague.Domain.PlayerRecord
Résultat void

RemoveSeason() public méthode

public RemoveSeason ( Season season ) : void
season BrokenShoeLeague.Domain.Season
Résultat void

SeasonExist() public méthode

public SeasonExist ( int seasonId ) : bool
seasonId int
Résultat bool

UpdateImageCarousel() public méthode

public UpdateImageCarousel ( int id, BrokenShoeLeague.Domain.ImageCarousel data ) : void
id int
data BrokenShoeLeague.Domain.ImageCarousel
Résultat void

UpdatePlayer() public méthode

public UpdatePlayer ( Player player ) : void
player BrokenShoeLeague.Domain.Player
Résultat void

UpdatePlayerRecord() public méthode

public UpdatePlayerRecord ( int playerRecordId, PlayerRecord data ) : void
playerRecordId int
data BrokenShoeLeague.Domain.PlayerRecord
Résultat void