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

# EbillEobQueryProvider

Query provider exposing 3 data-access operation(s) (`GetCompletedZeroPaymentBillsForEob`, `GetEob`, `GetEobsForBatch`) against 7 distinct table(s); see [sql/index.md](../../sql/index.md) for the full ORM operation catalog.

## Purpose
- Provides read/write access to 7 table(s) via NHibernate `IQueryable<T>`/`GetRepository<T>()` calls documented in [sql/index.md](../../sql/index.md).
- Exposes 3 public query/command method(s) consumed by higher application layers; see [database-tables.md](../../database-tables.md) for the underlying schema.

## Context
- Namespace: `SAIF.Data.Queries.Claims.Ebilling`
- Assembly/package: `SAIF.Data`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| GetCompletedZeroPaymentBillsForEob | `IEnumerable<Ebill> GetCompletedZeroPaymentBillsForEob(EbillClearinghouse clearinghouse)` | Executes an ORM query ([SQL-100](../../sql/SQL-100-ebill-eob-query-provider-get-completed-zero-payment-bills-for-eob.md)) against [EBILL](../../database-tables.md#ebill), [CBP_BILL](../../database-tables.md#cbp_bill), [CBP_BILL_STATUS_CODE](../../database-tables.md#cbp_bill_status_code), [CBP_AUDIT](../../database-tables.md#cbp_audit), [EBILL_EOB](../../database-tables.md#ebill_eob) (+2 more). |
| GetCompletedZeroPaymentBillsForEob | `IEnumerable<Ebill> GetCompletedZeroPaymentBillsForEob()` | Executes an ORM query ([SQL-100](../../sql/SQL-100-ebill-eob-query-provider-get-completed-zero-payment-bills-for-eob.md)) against [EBILL](../../database-tables.md#ebill), [CBP_BILL](../../database-tables.md#cbp_bill), [CBP_BILL_STATUS_CODE](../../database-tables.md#cbp_bill_status_code), [CBP_AUDIT](../../database-tables.md#cbp_audit), [EBILL_EOB](../../database-tables.md#ebill_eob) (+2 more). |
| GetEobsForBatch | `IEnumerable<EbillEob> GetEobsForBatch(EbillBatch batch)` | Executes an ORM query ([SQL-102](../../sql/SQL-102-ebill-eob-query-provider-get-eobs-for-batch.md)) against [EBILL_EOB](../../database-tables.md#ebill_eob), [EBILL_BATCH](../../database-tables.md#ebill_batch). |
| GetEob | `EbillEob GetEob(long eobId)` | Executes an ORM query ([SQL-103](../../sql/SQL-103-ebill-eob-query-provider-get-eob.md)) against [EBILL_EOB](../../database-tables.md#ebill_eob). |
| EbillEobQueryProvider(IRepositoryFactory factory) | `EbillEobQueryProvider(IRepositoryFactory factory)` | Initializes a new instance, wiring the repository factory used by this provider's query methods.* |

## Behavioral notes
- Query methods build LINQ expressions over `IQueryable<T>` obtained via `Factory.GetRepository<T>()` and execute them against the underlying NHibernate session.*

## Constraints and usage notes
- Instances are constructed with an `IRepositoryFactory` and are expected to be resolved through dependency injection rather than instantiated directly.*

> **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/Queries/Claims/Ebilling/EbillEobQueryProvider.cs`
