N
N
Nikolai Turnaviotov2013-11-06 21:27:04
C++ / C#
Nikolai Turnaviotov, 2013-11-06 21:27:04

Complex nested linq query?

Greetings.
There is a class

public class MasterClass
{
public property1 {get; set }
..
public virtual List<EmbeddedClass>  EmbeddedClass {get; set }
..
}

have a nested class
public class EmbeddedClass 
{
public property1 {get; set }
..
public virtual ExternalProperty ExternalProperty {get; set }
..
}

there is a third class
public classClass third
{
public property1 {get; set }

}
If I tell the Sql studio to make a query across the entire depth of nesting, the studio correctly returns it to me,
But how to make a beautiful linq with inner join in my case, so that all fields are filled in by nesting
And how to update these entities correctly in the edit method () of my mvc application, so as not to fence extra code
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Illivion, 2013-11-07
@Illivion

you here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question