Often you may want to attach multiple DataSources. This sample shows how to:
- First get all the data from the current App using
GetAppSource()
- Then get a
EntityTypeFilter
from ToSic.Eav.DataSources
- When creating the filter, also
attach
the initial app DataSource...
- ...and give the filter the parameter
TypeName = "Books"
- Count the data in both DataSources
- Loop through the final items in the filter DataSource
Note that you can do much more, best check out the docs.