Path: redb/redb.Core/Providers/Base/ObjectStorageProviderBase.ChangeTracking.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.Core/Providers/Base/ObjectStorageProviderBase.ChangeTracking.cs
----
using redb.Core.Models.Entities;
using System.Collections.Generic;
namespace redb.Core.Providers.Base
{
///
/// Pending-каналы ChangeTracking: дифф (Pro) складывает сюда DELETE/INSERT/UPDATE, а
/// SaveBatchWithChangeTrackingStrategy исполняет их одной точкой flush в живом порядке
/// DELETE -> UPDATE -> INSERT. В OpenSource остаются пустыми (CT - Pro-фича).
///
public abstract partial class ObjectStorageProviderBase
{
///
/// Values to update (from ChangeTracking diff). Pro only.
///
protected List _pendingValuesToUpdate = [];
///
/// Values to insert (from ChangeTracking diff). Pro only.
///
protected List _pendingValuesToInsert = [];
///
/// Value IDs to delete (from ChangeTracking diff). Pro only.
///
protected List _pendingValuesToDelete = [];
}
}