Path: redb/redb.Core/Models/Configuration/LazyLoadWithoutScopeMode.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/Models/Configuration/LazyLoadWithoutScopeMode.cs ---- namespace redb.Core.Models.Configuration; /// /// What a lazy load does when no live redb scope reads it (owner decision 2026-09-15). See /// . /// public enum LazyLoadWithoutScopeMode { /// /// Refuse with , naming the explicit ways (the default): a data /// object owns no connection, and a hidden scope per read is how connection pools run dry. /// Refuse = 0, /// /// Open a fresh scope - and a pooled connection - for each such load, outside any ambient transaction, and warn once /// the rate gets high. An explicit opt-in for hosts that accept the cost. /// FreshScope = 1, }