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

# AgencyContract

Domain entity representing Agency contract data within the agencies area of the claims/policy domain, mapped for NHibernate persistence.*

## Purpose
- Models agency contract data used by the agencies area of this library.*
- Inherits shared identity/lifecycle behavior from `EntityBase`.

## Context
- Namespace: `SAIF.Data.Model.Agencies`
- Assembly/package: `SAIF.Data`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| Id | `long Id { get; set; }` | Primary key / surrogate identifier for this record.* |
| AgencyId | `long AgencyId { get; set; }` | Foreign-key identifier referencing the related agency record.* |
| EffectiveDate | `DateTime EffectiveDate { get; set; }` | Date/time value for effective date.* |
| ExpirationDate | `DateTime? ExpirationDate { get; set; }` | Date/time value for expiration date.* |
| Type | `AgencyContractType Type { get; set; }` | Reference to the associated `AgencyContractType` record.* |

## Behavioral notes
- Properties are typically declared `virtual` to support NHibernate lazy-loading proxies (see the corresponding mapping file under `Data/SAIF.Data.NHibernate`).*

## Constraints and usage notes
- No additional usage constraints beyond standard NHibernate entity/DTO conventions could be confirmed from static analysis.**

> **Note:** Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

## Sources
- `Data/SAIF.Data/Model/Agencies/AgencyContract.cs`
