ILocationQueryProvider¶
Contract implemented by LocationQueryProvider.
Purpose¶
- Defines the members that
LocationQueryProvidermust provide to callers of this abstraction.
Context¶
- Namespace:
SAIF.Data.Queries - Assembly/package:
SAIF.Data
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| GetLocation | Location GetLocation(long id) |
Retrieves location.* |
| GetPolicyLocations | IQueryable<Location> GetPolicyLocations(long policyNumber) |
Retrieves policy locations.* |
| GetPolicyMailingLocation | Location GetPolicyMailingLocation(long policyNumber) |
Retrieves policy mailing location.* |
| GetLocationContacts | IQueryable<Contact> GetLocationContacts(long locationId) |
Retrieves location contacts.* |
| GetPolcyClaimLocationWithDefault | Location GetPolcyClaimLocationWithDefault(long policyNumber) |
Retrieves polcy claim location with default.* |
| GetClaimLocationContactWithDefault | Contact GetClaimLocationContactWithDefault(long locationId) |
Retrieves claim location contact with default.* |
| GetPrimaryLocation | Location GetPrimaryLocation(long policyNumber) |
Retrieves primary location.* |
| GetOfficeCode | OfficeCode GetOfficeCode(string code) |
Retrieves office code.* |
| GetOregonBusinessLocations | IList<Location> GetOregonBusinessLocations(long policyNumber) |
Retrieves oregon business locations.* |
Behavioral notes¶
- As an interface, this type defines no executable behavior of its own; behavior is determined by its implementation(s).*
Constraints and usage notes¶
- Callers should depend on this interface rather than the concrete implementation(s) (
LocationQueryProvider) to preserve testability.*
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/ILocationQueryProvider.cs