Skip to content

EdiSegment

Domain entity representing Edi segment data within the edi area of the claims/policy domain, mapped for NHibernate persistence.*

Purpose

  • Models edi segment data used by the edi area of this library.*
  • Inherits shared identity/lifecycle behavior from EntityBase.

Context

  • Namespace: SAIF.Data.Model.Edi
  • Assembly/package: SAIF.Data

Public members

Member Signature Purpose
Id long Id { get; set; } Primary key / surrogate identifier for this record.*
SegmentId string SegmentId { get; set; } Foreign-key identifier referencing the related segment record.*
Data string Data { get; set; } Value of data exposed by this type.*
Index int Index { get; set; } Value of index exposed by this type.*
File EdiFile File { get; set; } Reference to the associated EdiFile record.*
Elements IList<EdiDataElement> Elements { get; set; } Value of elements exposed by this type.*
AddElement void AddElement(EdiDataElement element) Adds element.*
EdiSegment() EdiSegment() Initializes a new instance of the type with the supplied dependencies.*

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/Edi/EdiSegment.cs