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

# SharedExtensions

Test-support builder/extension type used to construct in-memory repository fixtures for unit tests.*

## Purpose
- Supports building or extending fake/in-memory repositories for test scenarios.*

## Context
- Namespace: `SAIF.Data.TestRepository.RepositoryExtensions`
- Assembly/package: `SAIF.Data`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| Seed | `static IRepository<StateCode> Seed(this IRepository<StateCode> repo)` | Performs the `Seed` operation.* |

## Behavioral notes
- No additional behavioral notes beyond the member purposes above could be confirmed from static analysis.**

## 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/TestRepository/RepositoryExtensions/SharedExtensions.cs`
