Skip to content

EbillDocumentQueryProvider

Query provider exposing 8 data-access operation(s) (GetBillingParentDocumentsImagedByBatchId, GetDocument, GetDocumentOverride, GetDocumentTypeByCode, GetDocumentTypeBySetType, GetDocumentsforBill and 2 more) against 6 distinct table(s); see sql/index.md for the full ORM operation catalog.

Purpose

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

Context

  • Namespace: SAIF.Data.Queries.Claims.Ebilling
  • Assembly/package: SAIF.Data

Public members

Member Signature Purpose
GetDocument EbillDocument GetDocument(long documentId) Executes an ORM query (SQL-092) against EBILL_DOCUMENT.
GetNonImagedDocumentsforBatch IEnumerable<EbillDocument> GetNonImagedDocumentsforBatch(long batchId) Executes an ORM query (SQL-093) against EBILL_DOCUMENT, EBILL, EBILL_BATCH.
GetNonImagedDocumentsforBill IEnumerable<EbillDocument> GetNonImagedDocumentsforBill(long billId) Executes an ORM query (SQL-094) against EBILL_DOCUMENT, EBILL.
GetDocumentsforBill IEnumerable<EbillDocument> GetDocumentsforBill(long billId) Executes an ORM query (SQL-095) against EBILL_DOCUMENT, EBILL.
GetBillingParentDocumentsImagedByBatchId IEnumerable<EbillDocument> GetBillingParentDocumentsImagedByBatchId(long batchId) Executes an ORM query (SQL-096) against EBILL_DOCUMENT, EBILL, EBILL_BATCH.
GetDocumentTypeByCode EbillDocumentTypeCode GetDocumentTypeByCode(string documentTypeCode) Executes an ORM query (SQL-097) against EBILL_DOCUMENT_TYPE_CODE.
GetDocumentTypeBySetType EbillDocumentTypeCode GetDocumentTypeBySetType(EbillSetTypeCode setTypeCode) Executes an ORM query (SQL-098) against EBILL_DOCUMENT_TYPE_CODE, EBILL_SET_TYPE_CODE.
GetDocumentOverride EbillDocumentOverride GetDocumentOverride(string ebillDocumentTypeCode, string providerTypeCode) Executes an ORM query (SQL-099) against EBILL_DOCUMENT_OVERRIDE.
EbillDocumentQueryProvider(IRepositoryFactory factory) EbillDocumentQueryProvider(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/EbillDocumentQueryProvider.cs