Base solution for your next web application
Open Closed

GetAllIncluding, specific columns from child #7533


User avatar
0
tomop created

I'm doing this; _conversationRepository.GetAllIncluding(d => d.Events, d => d.Program)

How can I only get specific columns from Program? Right now it's doing a SELECT * from programs but I only need two fields.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @tomop

    Probably you have to write custom SQL Query for that. I don't know how to do it in Linq.