Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

11
  • 3
    Did you try it without the line continuations? Commented Feb 2, 2015 at 21:30
  • 1
    What type is x.PhoneNumbers?
    – SLaks
    Commented Feb 2, 2015 at 21:31
  • 4
    Seems like you have a misplaced close parentheses. You should be closing the parentheses on Include but it is not closed until the end. Not sure why it works in C# but not in VB, however.
    – D Stanley
    Commented Feb 2, 2015 at 21:32
  • 3
    This is probably a bug in the library; VB lambdas are probably compiled slightly differently.
    – SLaks
    Commented Feb 2, 2015 at 21:40
  • 3
    I'm voting to close this question as off-topic because confirming that the fix which is proposed in the EntityFramework.Utilities project is outside the scope of Stack Exchange. A pull request to add that check on the github project, and unit tests for consumption from VB, would seem a better course. Commented Feb 10, 2015 at 21:36