示例#1
0
 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
 private static IFluentEntityWhereSelect <Seat> SelectRowAndCategoryAndCinemaHallJoin(
     IFluentEntityJoin <Seat> statement)
 {
     return(statement
            .InnerJoin <Row, CinemaHall, long, long>(_ => _.Row.CinemaHall, _ => _.CinemaHallId, _ => _.Id));
 }