﻿---
title: "MissingTimeLossRepository"
summary: API reference for MissingTimeLossRepository
status: draft
owner: SAIF.Core documentation team
last_reviewed: 2026-09-24
library: SAIF.Data.NHibernate
reference_type: package
---


# MissingTimeLossRepository

`MissingTimeLossRepository` is a sealed `Repository<MissingTimeLossPayment>` specialization exposing a single read-only property that lists claims with missing time-loss payments, sourced from the Oracle package function `PK82001_CLAIM.getMissingTLPayments()`. The property is defined as an explicit interface implementation of `IMissingTimeLossRepository.MissingTimeLossPayments`, so it is only reachable through the interface, not directly on the concrete type.

## Purpose
- Return the current set of claims with missing time-loss payments for downstream follow-up/reporting, via `IMissingTimeLossRepository.MissingTimeLossPayments`.

## Context
- Namespace: `SAIF.Data.NHibernate.Repositories`
- Assembly/package: `SAIF.Data.NHibernate` (ships inside the `SAIF.SAIFCode.Core` NuGet package)
- Base class: `Repository<MissingTimeLossPayment>` from `SAIF.Framework.Data.NHibernate` (external, resolved via Legends CLI — see Inherited public members below).
- Implements: `IMissingTimeLossRepository`, defined in `SAIF.Data`*.
- Declared `sealed`; no further derivation is possible.

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| MissingTimeLossRepository(NHibernateUnitOfWork) | `public MissingTimeLossRepository(NHibernateUnitOfWork unitOfWork)` | Constructor; passes `unitOfWork` to the `Repository<MissingTimeLossPayment>` base. |
| IMissingTimeLossRepository.MissingTimeLossPayments | `IList<MissingTimeLossPayment> IMissingTimeLossRepository.MissingTimeLossPayments { get; }` | Explicit interface implementation; executes named query `MissingTimeLoss_GetMissingTimeLossPayments` (`{ call PK82001_CLAIM.getMissingTLPayments() }`) each time it is read and returns the resulting list of `MissingTimeLossPayment` rows. Only accessible via an `IMissingTimeLossRepository`-typed reference, not on the concrete `MissingTimeLossRepository` type directly ([SQL-034](../../sql/SQL-034-missing-time-loss-repository-get-missing-time-loss-payments.md)). |

## Inherited public members

Members in this section are inherited from `Repository<MissingTimeLossPayment>` in `SAIF.Framework.Data.NHibernate`. They are available on this type through inheritance.

| Member | Signature | Purpose | Origin |
| --- | --- | --- | --- |
| Add | `public void Add(MissingTimeLossPayment entity)` | Registers a new `MissingTimeLossPayment` entity for insertion on the next unit-of-work commit.† | `SAIF.Framework.Data.NHibernate` — `RepositoryBase<MissingTimeLossPayment>` |
| Update | `public void Update(MissingTimeLossPayment entity)` | Marks an existing `MissingTimeLossPayment` entity as modified for the next unit-of-work commit.† | `SAIF.Framework.Data.NHibernate` — `RepositoryBase<MissingTimeLossPayment>` |
| Delete | `public void Delete(MissingTimeLossPayment entity)` | Registers a `MissingTimeLossPayment` entity for deletion on the next unit-of-work commit.† | `SAIF.Framework.Data.NHibernate` — `RepositoryBase<MissingTimeLossPayment>` |
| Query | `public IQueryable<MissingTimeLossPayment> Query()` | Returns a LINQ-queryable session projection over `MissingTimeLossPayment` for building ad hoc filters.† | `SAIF.Framework.Data.NHibernate` — `RepositoryBase<MissingTimeLossPayment>` |
| Get | `public MissingTimeLossPayment Get(object id)` | Loads a `MissingTimeLossPayment` by primary key, returning `null` if not found.† | `SAIF.Framework.Data.NHibernate` — `RepositoryBase<MissingTimeLossPayment>` |
| Load | `public MissingTimeLossPayment Load(object id)` | Loads a `MissingTimeLossPayment` by primary key as a (possibly proxied) reference, throwing if not found.† | `SAIF.Framework.Data.NHibernate` — `RepositoryBase<MissingTimeLossPayment>` |
| SystemDate | `public DateTime SystemDate { get; }` | Current system date/time as tracked by the underlying session/unit of work.† | `SAIF.Framework.Data.NHibernate` — `RepositoryBase<MissingTimeLossPayment>` |

## Behavioral notes
- The `MissingTimeLossPayments` property is read-only and re-executes the query on every access; it does not cache results between reads*.
- Analysis could not confirm which underlying table(s) `PK82001_CLAIM.getMissingTLPayments()` reads, since the member was absent from the retrieved Oracle package source (`saif-data-nhibernate-db-analysis.md`, SQL-034)**.

## Constraints and usage notes
- Because the member is an explicit interface implementation, code must hold an `IMissingTimeLossRepository` reference (not `MissingTimeLossRepository`) to access `MissingTimeLossPayments`*.

> **Note:** Statements marked with `†` are derived from dependency library
> documentation via the Legends CLI. Statements marked with `*` were inferred
> from code structure or contextual evidence. Statements marked with `**` could
> not be confirmed; treat as unknown until verified.

## Related documentation
- [Index](../../index.md)
- [Overview](../../overview.md)
- [Architecture](../../architecture.md)
- [Dependencies](../../dependencies.md)
- [Operations and processes](../../operations-processes.md)
- [Business rules](../../business-rules.md)
- [Database tables](../../database-tables.md)
- [SQL catalog](../../sql/index.md)
- [Procedures](../../procedures/index.md)
- [Security and authorization](../../security-authorization.md)
- [API reference](../index.md)

## Sources
- `Data/SAIF.Data.NHibernate/Repositories/Claims/Information/MissingTimeLossRepository.cs`
