Class RedbLazyLoadScopeEndedException
Thrown when a lazy load - the Props of an unloaded reference, RedbListItem.Object - finds no live redb
scope to run on. A data object owns no connection: the load runs on the scope of whoever reads it (owner decision
2026-09-15). Here none reads: the scope that loaded the object has ended, or the code runs outside any scope - a
background task, a static cache, a UI event handler. Before, the load quietly took a fresh scope and pooled connection
per read.
public class RedbLazyLoadScopeEndedException : InvalidOperationException, ISerializable
Inheritance
Implements
Properties
ObjectId
Id of the object whose Props (or which, behind a list item) were asked for.
public long ObjectId { get; }
SchemeId
Scheme of that object; 0 when the load came from a list item and the scheme is not known yet.
public long SchemeId { get; }
Methods
ForListItem(long, long)
A list item's linked object asked for with no live redb scope.
public static RedbLazyLoadScopeEndedException ForListItem(long listItemId, long objectId)