When you work with dynamic content type, such as instances of the type Telerik.Sitefinity.DynamicModules.Model.DynamicContent, you may use various LINQ operations. This article demonstrates how to use the Join operation. For more information, see the MSDN » Querable.Join method.
Telerik.Sitefinity.DynamicModules.Model.DynamicContent
This article uses the terms TInner, TOuter, and TResult with the same meaning as the MSDN article.
TInner
TOuter
TResult
Sitefinity CMS supports the following combinations of Join queries with generic types for outer and inner Join arguments:
Join
DynamicContent
Sitefinity CMS support all of these combinations with some requirements on TResult:
The examples in this article contain the following:
JoinResult
The following code samples has a DynamicContent type Hotel. It containing the child type Room. To keep the results from the computation, the type JoinResults is introduced:
Hotel
Room
JoinResults
In the following code sample, you can find examples of how you must use the Join queries in Sitefinity CMS. The code sample demonstrates the following:
Lstring
The following code sample demonstrates edge cases and limitations that, when used, will throw exceptions:
In this case:
Telerik.Sitefinity.Data.Linq.Dynamic
In these cases:
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important