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

# CbpExtensions

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<CbpBillStatusCode> Seed(this IRepository<CbpBillStatusCode> repo)` | Performs the `Seed` operation.* |
| Seed | `static IRepository<CbpBill> Seed(this IRepository<CbpBill> 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/CbpExtensions.cs`
