Method CreateTreeQuery<TProps>(long, long?, bool, long?, int?)
Create tree query with hierarchical constraint support.
Uses SQL function search_tree_objects_with_facets() instead of search_objects_with_facets().
Returns IRedbQueryable with full tree method support.
public IRedbQueryable<TProps> CreateTreeQuery<TProps>(long schemeId, long? userId = null, bool checkPermissions = false, long? rootObjectId = null, int? maxDepth = null) where TProps : class, new()