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

# TeamFunctionAgency

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

## Purpose
- Models team function agency 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 |
| --- | --- | --- |
| AgencyId | `long AgencyId { get; set; }` | Foreign-key identifier referencing the related agency record.* |
| TeamFunctionCode | `string TeamFunctionCode { get; set; }` | Coded value identifying team function code.* |
| PolicyUserId | `string PolicyUserId { get; set; }` | Foreign-key identifier referencing the related policy user record.* |
| OfficeCode | `string OfficeCode { get; set; }` | Coded value identifying office code.* |
| TeamFunctionEmployeeRef | `TeamFunctionEmployeeRef TeamFunctionEmployeeRef { get; set; }` | Reference to the associated `TeamFunctionEmployeeRef` record.* |
| Equals | `bool Equals(object obj)` | Performs the `Equals` operation.* |
| GetHashCode | `int GetHashCode()` | Retrieves hash code.* |

## 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/TeamFunctionAgency.cs`
