Class RedbProRequiredException

Assembly: redb.Core.dll

Exception thrown when a feature requires REDB Pro version.
Pro-only features include:

Computed expressions in filters: x.A + x.B, Math.Abs(x.Value)
String functions: ToLower(), Trim(), etc.
SQL functions: Sql.Function()
ChangeTracking save strategy
DistinctRedb/DistinctBy queries
Window functions combined with GroupBy
Deep filter nesting (depth > 3)

Solution: Install-Package redb.MSSql.Pro or redb.Postgres.Pro

public class RedbProRequiredException : NotSupportedException, ISerializable

Inheritance

ObjectExceptionSystemExceptionNotSupportedExceptionRedbProRequiredException

Implements

Properties

Category

Category of Pro feature.

public ProFeatureCategory Category { get; }

Feature

Feature name that requires Pro version.

public string Feature { get; }

Methods

ThrowIfProRequired(Expression, string)

Throws if Expression contains Pro-only features.

public static void ThrowIfProRequired(Expression expression, string context)

Constructors

RedbProRequiredException(string, ProFeatureCategory)

Creates exception for Pro-required feature.