예제 #1
0
파일: SeatDaoAdo.cs 프로젝트: EnvyIT/apollo
 private static IFluentEntityJoin <Seat> SelectWithRowAndCategoryJoin(IFluentEntityJoin <Seat> statement)
 {
     return(statement
            .InnerJoin <Seat, Row, long, long>(_ => _.Row, _ => _.RowId, _ => _.Id)
            .InnerJoin <Row, RowCategory, long, long>(_ => _.Row.Category, _ => _.CategoryId, _ => _.Id));
 }
예제 #2
0
파일: SeatDaoAdo.cs 프로젝트: EnvyIT/apollo
 private static IFluentEntityWhereSelect <Seat> SelectRowAndCategoryAndCinemaHallJoin(
     IFluentEntityJoin <Seat> statement)
 {
     return(statement
            .InnerJoin <Row, CinemaHall, long, long>(_ => _.Row.CinemaHall, _ => _.CinemaHallId, _ => _.Id));
 }