C# 클래스 Tenant.Mvc.Core.Contexts.DatabaseContext.ConcertContext

파일 보기 프로젝트 열기: Microsoft/WingTipTickets

공개 메소드들

메소드 설명
AddNewArtist ( String artistName ) : PerformerModel
DeleteConcert ( int concertId ) : System.Boolean
GetArtistById ( int artistId ) : PerformerModel
GetArtistByName ( String artistName ) : PerformerModel
GetArtists ( ) : List
GetConcertById ( int concertId ) : ConcertModel
GetConcertByName ( String concertName ) : ConcertModel
GetConcertIdToDbSaveMap ( ) : int>>.List
GetConcerts ( int venueId, bool orderByName = false ) : List
SaveNewConcert ( String concertName, String concertDescription, System.DateTime concertDateTime, ServerTargetEnum saveToDatabase, int concertVenueId, int performerId ) : ConcertModel

비공개 메소드들

메소드 설명
PopulateSingleArtistFromDbReader ( System.Data.SqlClient.SqlDataReader dbReader ) : PerformerModel
PopulateSingleConcertFromDbReader ( System.Data.SqlClient.SqlDataReader dbReader ) : ConcertModel

메소드 상세

AddNewArtist() 공개 메소드

public AddNewArtist ( String artistName ) : PerformerModel
artistName String
리턴 Tenant.Mvc.Core.Models.PerformerModel

DeleteConcert() 공개 메소드

public DeleteConcert ( int concertId ) : System.Boolean
concertId int
리턴 System.Boolean

GetArtistById() 공개 메소드

public GetArtistById ( int artistId ) : PerformerModel
artistId int
리턴 Tenant.Mvc.Core.Models.PerformerModel

GetArtistByName() 공개 메소드

public GetArtistByName ( String artistName ) : PerformerModel
artistName String
리턴 Tenant.Mvc.Core.Models.PerformerModel

GetArtists() 공개 메소드

public GetArtists ( ) : List
리턴 List

GetConcertById() 공개 메소드

public GetConcertById ( int concertId ) : ConcertModel
concertId int
리턴 Tenant.Mvc.Core.Models.ConcertModel

GetConcertByName() 공개 메소드

public GetConcertByName ( String concertName ) : ConcertModel
concertName String
리턴 Tenant.Mvc.Core.Models.ConcertModel

GetConcertIdToDbSaveMap() 공개 메소드

public GetConcertIdToDbSaveMap ( ) : int>>.List
리턴 int>>.List

GetConcerts() 공개 메소드

public GetConcerts ( int venueId, bool orderByName = false ) : List
venueId int
orderByName bool
리턴 List

SaveNewConcert() 공개 메소드

public SaveNewConcert ( String concertName, String concertDescription, System.DateTime concertDateTime, ServerTargetEnum saveToDatabase, int concertVenueId, int performerId ) : ConcertModel
concertName String
concertDescription String
concertDateTime System.DateTime
saveToDatabase ServerTargetEnum
concertVenueId int
performerId int
리턴 Tenant.Mvc.Core.Models.ConcertModel