Arsen Mkrtchyan
Arsen Mkrtchyan

Reputation: 50712

Is there deep loading in subsonic?

I am new in subsonic, and can't find the way to load data whith it's parents or childs data in one query. Is it possible in subsonic?

Upvotes: 0

Views: 258

Answers (2)

Rick Rat
Rick Rat

Reputation: 1732

You CAN do it with subsonic 2. Make a partial class with the same namespace and class name.

Then create a property that loads the data when it is called.

Upvotes: -1

Adam Cooper
Adam Cooper

Reputation: 8677

Basically no SubSonic 2 does not support deep loading. It is possible in SubSonic 3 using IQueryable however. See the following post for more:

Subsonic Deeploads: Is This Supported?

Upvotes: 2

Related Questions