ClaudTree.EntityFramework.PostgreSql 1.0.0

dotnet add package ClaudTree.EntityFramework.PostgreSql --version 1.0.0
                    
NuGet\Install-Package ClaudTree.EntityFramework.PostgreSql -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ClaudTree.EntityFramework.PostgreSql" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ClaudTree.EntityFramework.PostgreSql" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ClaudTree.EntityFramework.PostgreSql" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ClaudTree.EntityFramework.PostgreSql --version 1.0.0
                    
#r "nuget: ClaudTree.EntityFramework.PostgreSql, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ClaudTree.EntityFramework.PostgreSql@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ClaudTree.EntityFramework.PostgreSql&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ClaudTree.EntityFramework.PostgreSql&version=1.0.0
                    
Install as a Cake Tool

🌳 ClaudTree

License: MIT .NET MAUI

A .NET MAUI hierarchical tree control with built-in database persistence.

ClaudTree is the only .NET MAUI tree control that combines a full-featured UI with integrated Entity Framework Core support for automatic data persistence. No more building your own data access layer.


✨ Key Features

Feature Description
Database Persistence Built-in EF Core with SQLite, SQL Server, PostgreSQL, Oracle
Auto-Create Tables Call one method to create all required tables
Checkbox Selection Two-state and three-state with cascading
Checkbox Persistence Checkbox states saved to database automatically
Search & Filter Filter mode (hide) or highlight mode with navigation
Drag & Drop Internal reordering and external drop support
Custom Menus Full control over Add/Delete/Rename dialogs via hooks
Theming Light, Dark, and System theme support
Cross-Platform Windows, macOS, iOS, Android

πŸš€ Quick Start

1. Install the Package

dotnet add package ClaudTree.Maui

2. Configure Services

// MauiProgram.cs
using ClaudTree.EntityFramework.Sqlite.Extensions;
using ClaudTree.Maui.Extensions;

builder.Services.AddClaudTreeSqlite(options =>
{
    options.UseSqlite("Data Source=myapp.db");
    options.AutoCreateTables = true;
});

builder.Services.AddClaudTreeMaui();

3. Add to XAML

<ContentPage xmlns:ct="clr-namespace:ClaudTree.Maui.Controls;assembly=ClaudTree.Maui">

    <ct:ClaudTreeControl x:Name="TreeControl"
                         HierarchyId="{Binding HierarchyId}"
                         SubsystemName="MyApp"
                         CheckboxMode="Enabled"
                         ShowInternalSearchBar="True" />
</ContentPage>

4. Initialize

public partial class MainPage : ContentPage
{
    public MainPage(IClaudTreeUnitOfWork unitOfWork, IClaudTreeActions actions)
    {
        InitializeComponent();
        TreeControl.Initialize(unitOfWork, actions);
    }

    protected override async void OnAppearing()
    {
        base.OnAppearing();
        await TreeControl.LoadAsync();
    }
}

πŸ“¦ NuGet Packages

Package Description
ClaudTree.Maui Main package - includes everything
ClaudTree.Core Core models and interfaces
ClaudTree.EntityFramework Base EF Core implementation
ClaudTree.EntityFramework.Sqlite SQLite provider
ClaudTree.EntityFramework.SqlServer SQL Server provider
ClaudTree.EntityFramework.PostgreSql PostgreSQL provider
ClaudTree.EntityFramework.Oracle Oracle provider

πŸ†š Why ClaudTree?

Aspect Commercial Controls ClaudTree
Database Integration ❌ None βœ… Built-in
Checkbox Persistence ❌ UI Only βœ… Saved to DB
Custom Add Item Dialog ❌ Limited βœ… Full Control
Cost (5 devs, 5 years) ~$30,000 $0
Time to Implement Weeks Minutes

πŸ“– Documentation


πŸ—„οΈ Supported Databases

  • βœ… SQLite - Perfect for mobile and desktop apps
  • βœ… SQL Server - Enterprise multi-user scenarios
  • βœ… PostgreSQL - Cross-platform enterprise
  • βœ… Oracle - Enterprise environments
  • ⏸️ MySQL - Waiting for .NET 10 driver support

🎯 Use Cases

  • File/Folder Management - Document libraries, asset managers
  • Permission Trees - Role-based access control UI
  • Task Lists - Hierarchical todo lists with completion tracking
  • Category Management - Product catalogs, content organization
  • Bookmark Managers - Hierarchical bookmark storage
  • Password Vaults - Organized credential storage

πŸ—οΈ Sample Applications

The samples/ClaudTree.Sample project includes three working demos:

  1. Main Demo - Full feature showcase with all bindable properties
  2. Bookmarks - Browser bookmark manager with favicon fetching
  3. Secrets - Password vault with master password protection

🀝 Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.


πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ‘₯ Contributors

  • Alan Stratton
  • Claude.ai
  • Open Source Community

ClaudTree v1.0 - February 2026

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ClaudTree.EntityFramework.PostgreSql:

Package Downloads
ClaudTree.Maui

A .NET MAUI Hierarchical Tree Control with Entity Framework support. Features drag-and-drop, context menus, theming, kiosk mode, and touch support. This is the main package - it includes ClaudTree.Core and ClaudTree.EntityFramework.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 49 2/4/2026