Path: redb/redb.SQLite/Providers/SqliteTreeProvider.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.SQLite/Providers/SqliteTreeProvider.cs
----
using redb.Core.Data;
using redb.Core.Models.Configuration;
using redb.Core.Models.Contracts;
using redb.Core.Providers;
using redb.Core.Providers.Base;
using redb.Core.Serialization;
using redb.SQLite.Sql;
using Microsoft.Extensions.Logging;
namespace redb.SQLite.Providers;
///
/// SQLite implementation of tree provider.
/// Inherits all logic from TreeProviderBase, provides SQLite-specific SQL via SqliteDialect.
///
public class SqliteTreeProvider : TreeProviderBase
{
///
/// Creates SQLite tree provider with default SqliteDialect.
///
public SqliteTreeProvider(
IRedbContext context,
IObjectStorageProvider objectStorage,
IPermissionProvider permissionProvider,
IRedbObjectSerializer serializer,
IRedbSecurityContext securityContext,
ISchemeSyncProvider schemeSyncProvider,
RedbServiceConfiguration? configuration = null,
ILogger? logger = null,
redb.Core.Interception.RedbSaveInterceptorPipeline? saveInterceptors = null)
: base(
context,
objectStorage,
permissionProvider,
serializer,
securityContext,
schemeSyncProvider,
new SqliteDialect(),
configuration,
logger,
saveInterceptors)
{
}
}