csharp
public record class LedgerEntryOne row of the journal. Append-only, and never updated.
Fields and properties (9)
public long SequenceIts position. Monotonic across the whole ledger.
public IdempotencyKey KeyThe operation that wrote it.
public LedgerAccount AccountWhose holding changed.
public AssetId AssetOf what.
public long DeltaBy how much.
public long BalanceWhat that account held of that asset afterwards.
public DateTimeOffset AtThe acting realm's clock when it decided.
public DateTimeOffset RecordedThe store's clock when it landed. Not the same, and both matter.
public string DetailThe intent's free text.
Methods (2)
public LedgerEntry(long Sequence, IdempotencyKey Key, LedgerAccount Account, AssetId Asset, long Delta, long Balance, DateTimeOffset At, DateTimeOffset Recorded, string Detail)One row of the journal. Append-only, and never updated.
public override string ToString()Returns a string that represents the current object.
Used by (6)
- ConservationTestsVixen.Live.Persistence.Tests
- ILedgerVixen.Live.Persistence
- LedgerTestsVixen.Live.Persistence.Tests
- MemoryPersistenceVixen.Live.Persistence
- SqlPersistenceVixen.Live.Persistence
- TransferFleetVixen.Live.Realm.Tests