---
title: LocationEdit
summary: API reference for LocationEdit.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-09-24
library: SAIF.SAIFCode.Core
reference_type: package
---

# LocationEdit

`LocationEdit` is an edit/update DTO in the Locations area, carrying the fields a consumer may modify for the corresponding entity*.

## Purpose
- Carries the editable fields for a Locations entity update operation*.

## Context
- Namespace: `SAIF.Core.Contracts.Locations`
- Kind: Class
- Assembly/package: `SAIF.Core` (NuGet package `SAIF.SAIFCode.Core`)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `BusId` | `long? BusId { get; set; }` | References the identifier of the associated bus record*. |
| `AgentNum` | `long? AgentNum { get; set; }` | Represents the agent num associated with this LocationEdit*. |
| `ParentId` | `long? ParentId { get; set; }` | References the identifier of the associated parent record*. |
| `EffectiveDate` | `DateTime EffectiveDate { get; set; }` | Records the date of the effective*. |
| `ExpirationDate` | `DateTime? ExpirationDate { get; set; }` | Records the date of the expiration*. |
| `LocationCode` | `string LocationCode { get; set; }` | Classifies the location using a coded value*. |
| `LocationName` | `string LocationName { get; set; }` | Holds the location name recorded on this LocationEdit*. |
| `AddressLine1` | `string AddressLine1 { get; set; }` | Holds line 1 of the record mailing address*. |
| `AddressLine2` | `string AddressLine2 { get; set; }` | Holds line 2 of the record mailing address*. |
| `City` | `string City { get; set; }` | Represents the city associated with this LocationEdit*. |
| `Country` | `string Country { get; set; }` | Represents the country associated with this LocationEdit*. |
| `County` | `string County { get; set; }` | Represents the county associated with this LocationEdit*. |
| `Phone` | `string Phone { get; set; }` | Represents the phone associated with this LocationEdit*. |
| `PhoneExtension` | `string PhoneExtension { get; set; }` | Represents the phone extension associated with this LocationEdit*. |
| `Fax` | `string Fax { get; set; }` | Represents the fax associated with this LocationEdit*. |
| `State` | `string State { get; set; }` | Represents the state associated with this LocationEdit*. |
| `Zip` | `string Zip { get; set; }` | Represents the zip associated with this LocationEdit*. |
| `Zip4` | `string Zip4 { get; set; }` | Represents the zip4 associated with this LocationEdit*. |
| `SicCode` | `string SicCode { get; set; }` | Classifies the sic using a coded value*. |
| `ProviderNum` | `long? ProviderNum { get; set; }` | Represents the provider num associated with this LocationEdit*. |
| `UpdateUser` | `string UpdateUser { get; set; }` | Identifies the user tied to the update on this LocationEdit*. |
| `UpdateDate` | `DateTime? UpdateDate { get; set; }` | Records the date of the update*. |
| `UspsBarcode` | `string UspsBarcode { get; set; }` | Represents the usps barcode associated with this LocationEdit*. |
| `EmailAddress` | `string EmailAddress { get; set; }` | Represents the email address associated with this LocationEdit*. |
| `EmployeeCount` | `long? EmployeeCount { get; set; }` | Records the count of employee*. |
| `AddressLine3` | `string AddressLine3 { get; set; }` | Holds line 3 of the record mailing address*. |
| `IsPrimaryLocation` | `bool IsPrimaryLocation { get; set; }` | Indicates whether primary location applies to this LocationEdit*. |
| `CellPhone` | `string CellPhone { set; }` | Represents the cell phone associated with this LocationEdit*. |

> **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
- Core/SAIF.Core/Contracts/Locations/LocationEdit.cs
