Created
November 16, 2012 13:54
-
-
Save sniffdk/4087525 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// Problematic short example | |
var q = db.X.All().Join(db.Y, XId: db.X.Id).WithY(); | |
// Problematic real example | |
var q = db.List.All().Join(db.Question, ListId: db.List.Id).WithQuestion(); | |
// Suggested short example | |
var q = db.X.All().Join(db.Y, XId: db.X.Id ).With(db.X.Y); | |
// Suggested real example | |
var q = db.List.All().Join(db.Question, ListId: db.List.Id ).With(db.List.Question); // correct ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OK, try
Your original code should work, though; I will find out why it doesn't.