Created
July 15, 2018 13:35
-
-
Save ssougnez/761d9cf72b927ba50e212cb8fb627d89 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sql = new Sql() | |
.Select<Movie>(dbContext.SqlSyntax) | |
.AndSelect<Director>(dbContext.SqlSyntax) | |
.From<Movie>(dbContext.SqlSyntax) | |
.InnerJoin<Director>(dbContext.SqlSyntax) | |
.On<Movie, Director>(dbContext.SqlSyntax, m => m.DirectorId, d => d.Id); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment