Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssougnez/761d9cf72b927ba50e212cb8fb627d89 to your computer and use it in GitHub Desktop.
Save ssougnez/761d9cf72b927ba50e212cb8fb627d89 to your computer and use it in GitHub Desktop.
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