Path: redb/redb.Core/Models/Contracts/IRedbListItem.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/Contracts/IRedbListItem.cs
----
using System;
namespace redb.Core.Models.Contracts
{
///
/// REDB list item interface
/// Represents a reference list element
///
public interface IRedbListItem
{
///
/// Unique list item identifier
///
long Id { get; }
///
/// Identifier of the list to which the item belongs
///
long IdList { get; }
///
/// List item text value
///
string Value { get; }
///
/// Object identifier (if list item references an object)
///
long? IdObject { get; }
///
/// List item alias (short description)
///
string? Alias { get; }
///
/// Fully lazy loading of linked object
/// Automatically loaded on first access through global loader
/// Returns null if IdObject is null or loader is not configured
///
IRedbObject? Object { get; }
}
}