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

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

공개 메소드들

메소드 설명
AddNewCity ( string cityName, string cityDescription = "", string cityState = "" ) : CityModel
AddNewVenue ( string venueName, int cityId ) : VenueModel
GetCities ( ) : List
GetCityById ( int cityId ) : CityModel
GetCityByName ( string cityName ) : CityModel
GetVenueByVenueId ( int venueId ) : VenueModel
GetVenues ( int venueId, int cityId ) : List

비공개 메소드들

메소드 설명
GetCitiesInternal ( ) : List
GetVenueByVenueIdInternal ( int venueId ) : VenueModel
MapRowToCity ( System.Data.SqlClient.SqlDataReader reader ) : CityModel
MapRowToVenue ( System.Data.SqlClient.SqlDataReader reader ) : VenueModel

메소드 상세

AddNewCity() 공개 메소드

public AddNewCity ( string cityName, string cityDescription = "", string cityState = "" ) : CityModel
cityName string
cityDescription string
cityState string
리턴 Tenant.Mvc.Core.Models.CityModel

AddNewVenue() 공개 메소드

public AddNewVenue ( string venueName, int cityId ) : VenueModel
venueName string
cityId int
리턴 Tenant.Mvc.Core.Models.VenueModel

GetCities() 공개 메소드

public GetCities ( ) : List
리턴 List

GetCityById() 공개 메소드

public GetCityById ( int cityId ) : CityModel
cityId int
리턴 Tenant.Mvc.Core.Models.CityModel

GetCityByName() 공개 메소드

public GetCityByName ( string cityName ) : CityModel
cityName string
리턴 Tenant.Mvc.Core.Models.CityModel

GetVenueByVenueId() 공개 메소드

public GetVenueByVenueId ( int venueId ) : VenueModel
venueId int
리턴 Tenant.Mvc.Core.Models.VenueModel

GetVenues() 공개 메소드

public GetVenues ( int venueId, int cityId ) : List
venueId int
cityId int
리턴 List