C# 클래스 BrokenShoeLeague.Data.BrokenShoeLeagueContext

상속: DbContext, IBrokenShoeLeagueRepository
파일 보기 프로젝트 열기: YeeRSoft/broken-shoe-league

공개 메소드들

메소드 설명
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

메소드 상세

AddComment() 공개 메소드

public AddComment ( BrokenShoeLeague.Domain.Comment c ) : void
c BrokenShoeLeague.Domain.Comment
리턴 void

AddPlayerToMatchday() 공개 메소드

public AddPlayerToMatchday ( Matchday matchday, int playerId ) : void
matchday BrokenShoeLeague.Domain.Matchday
playerId int
리턴 void

BrokenShoeLeagueContext() 공개 메소드

public BrokenShoeLeagueContext ( ) : System
리턴 System

CreateImageCarousel() 공개 메소드

public CreateImageCarousel ( BrokenShoeLeague.Domain.ImageCarousel imageCarousel ) : void
imageCarousel BrokenShoeLeague.Domain.ImageCarousel
리턴 void

CreateMatchday() 공개 메소드

public CreateMatchday ( Matchday matchday ) : void
matchday BrokenShoeLeague.Domain.Matchday
리턴 void

CreatePlayer() 공개 메소드

public CreatePlayer ( Player newPlayer ) : void
newPlayer BrokenShoeLeague.Domain.Player
리턴 void

CreatePlayerRecord() 공개 메소드

public CreatePlayerRecord ( PlayerRecord playerRecord ) : void
playerRecord BrokenShoeLeague.Domain.PlayerRecord
리턴 void

CreateSeason() 공개 메소드

public CreateSeason ( Season season ) : void
season BrokenShoeLeague.Domain.Season
리턴 void

FindUser() 공개 메소드

public FindUser ( bool>.Func pred ) : BrokenShoeLeague.Domain.UserProfile
pred bool>.Func
리턴 BrokenShoeLeague.Domain.UserProfile

GetAllComments() 공개 메소드

public GetAllComments ( ) : IQueryable
리턴 IQueryable

GetAllImageCarousel() 공개 메소드

public GetAllImageCarousel ( ) : IQueryable
리턴 IQueryable

GetAllMatchdays() 공개 메소드

public GetAllMatchdays ( ) : IQueryable
리턴 IQueryable

GetAllPlayerRecords() 공개 메소드

public GetAllPlayerRecords ( ) : IQueryable
리턴 IQueryable

GetAllPlayers() 공개 메소드

public GetAllPlayers ( ) : IQueryable
리턴 IQueryable

GetAllSeasons() 공개 메소드

public GetAllSeasons ( ) : IQueryable
리턴 IQueryable

GetAllUsers() 공개 메소드

public GetAllUsers ( ) : IQueryable
리턴 IQueryable

GetCommentById() 공개 메소드

public GetCommentById ( int id ) : BrokenShoeLeague.Domain.Comment
id int
리턴 BrokenShoeLeague.Domain.Comment

GetImageCarouselById() 공개 메소드

public GetImageCarouselById ( int id ) : BrokenShoeLeague.Domain.ImageCarousel
id int
리턴 BrokenShoeLeague.Domain.ImageCarousel

GetMatchdayById() 공개 메소드

public GetMatchdayById ( int id ) : Matchday
id int
리턴 BrokenShoeLeague.Domain.Matchday

GetPlayerById() 공개 메소드

public GetPlayerById ( int id ) : Player
id int
리턴 BrokenShoeLeague.Domain.Player

GetPlayerByName() 공개 메소드

public GetPlayerByName ( string name ) : Player
name string
리턴 BrokenShoeLeague.Domain.Player

GetPlayerRecordById() 공개 메소드

public GetPlayerRecordById ( int id ) : PlayerRecord
id int
리턴 BrokenShoeLeague.Domain.PlayerRecord

GetSeasonById() 공개 메소드

public GetSeasonById ( int id ) : Season
id int
리턴 BrokenShoeLeague.Domain.Season

IBrokenShoeLeagueRepository() 공개 메소드

public IBrokenShoeLeagueRepository ( ) : void
리턴 void

MatchdayExist() 공개 메소드

public MatchdayExist ( int matchdayId ) : bool
matchdayId int
리턴 bool

PlayerExist() 공개 메소드

public PlayerExist ( int playerId ) : bool
playerId int
리턴 bool

RemoveComment() 공개 메소드

public RemoveComment ( BrokenShoeLeague.Domain.Comment c ) : void
c BrokenShoeLeague.Domain.Comment
리턴 void

RemoveComment() 공개 메소드

public RemoveComment ( int id ) : void
id int
리턴 void

RemoveImageCarousel() 공개 메소드

public RemoveImageCarousel ( BrokenShoeLeague.Domain.ImageCarousel imageCarousel ) : void
imageCarousel BrokenShoeLeague.Domain.ImageCarousel
리턴 void

RemoveMatchday() 공개 메소드

public RemoveMatchday ( Matchday matchday ) : void
matchday BrokenShoeLeague.Domain.Matchday
리턴 void

RemovePlayer() 공개 메소드

public RemovePlayer ( Player player ) : void
player BrokenShoeLeague.Domain.Player
리턴 void

RemovePlayerRecord() 공개 메소드

public RemovePlayerRecord ( PlayerRecord playerRecord ) : void
playerRecord BrokenShoeLeague.Domain.PlayerRecord
리턴 void

RemoveSeason() 공개 메소드

public RemoveSeason ( Season season ) : void
season BrokenShoeLeague.Domain.Season
리턴 void

SeasonExist() 공개 메소드

public SeasonExist ( int seasonId ) : bool
seasonId int
리턴 bool

UpdateImageCarousel() 공개 메소드

public UpdateImageCarousel ( int id, BrokenShoeLeague.Domain.ImageCarousel data ) : void
id int
data BrokenShoeLeague.Domain.ImageCarousel
리턴 void

UpdatePlayer() 공개 메소드

public UpdatePlayer ( Player player ) : void
player BrokenShoeLeague.Domain.Player
리턴 void

UpdatePlayerRecord() 공개 메소드

public UpdatePlayerRecord ( int playerRecordId, PlayerRecord data ) : void
playerRecordId int
data BrokenShoeLeague.Domain.PlayerRecord
리턴 void