Path: redb/redb.MSSql/Query/MssqlTreeQueryable.cs
Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb
Page: https://redbase.app/src/dev-2026-12-06/redb/redb.MSSql/Query/MssqlTreeQueryable.cs
----
using redb.Core.Query;
using redb.Core.Query.Base;
using redb.Core.Query.FacetFilters;
using redb.Core.Query.QueryExpressions;
namespace redb.MSSql.Query;
///
/// MS SQL Server tree queryable implementation.
/// Inherits from TreeQueryableBase and provides MSSQL-specific components.
///
public class MssqlTreeQueryable : TreeQueryableBase
where TProps : class, new()
{
public MssqlTreeQueryable(
ITreeQueryProvider provider,
TreeQueryContext context,
IFilterExpressionParser filterParser,
IOrderingExpressionParser orderingParser)
: base(provider, context, filterParser, orderingParser, new FacetFilterBuilder())
{
}
///
/// Creates a new instance with the specified context.
///
protected override TreeQueryableBase CreateInstance(TreeQueryContext context)
{
return new MssqlTreeQueryable(_treeProvider, context, _filterParser, _orderingParser);
}
}