Last active
October 12, 2021 17:45
-
-
Save chsami/997636fcf4021a797ee110efc9d29aae to your computer and use it in GitHub Desktop.
IQueryable inside foreach
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
IQueryable<Entity> query = dbContext.Entity.Where(x => x.Foo == "Foo") | |
foreach(var item in query) { | |
Console.WriteLine(item.ToString()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment