# Pams.Common

**Kind:** Module

**Source:** `Pams/Logic/Common/Pams.Common.csproj` (line 1)

**Part of:** [Pams](subsystem-pams)

.NET project in solution

Pams.Common is a .NET project in the Pams solution. It contains shared logic that other Pams projects can reference through the solution's project dependency graph.

## Diagram

```mermaid
graph TD
  Solution[Pams solution] --> Common[Pams.Common]
  Consumers[Other Pams projects] --> Common
  Common --> Shared[Shared logic]
```

## Usage

```javascript
import { execFileSync } from "node:child_process";

const projectPath = "Pams/Logic/Common/Pams.Common.csproj";

execFileSync("dotnet", ["build", projectPath], {
  stdio: "inherit",
});
```

## AI Coding Instructions

- Keep code in this project reusable by other Pams projects.
- Add a project reference when another .NET project needs code from Pams.Common.
- Avoid placing application-specific behavior in shared logic.
- Run `dotnet build Pams/Logic/Common/Pams.Common.csproj` after changing project files or shared code.

## Relationships

- DEPENDS_ON → `System`
- DEPENDS_ON → `System.Data`
- DEPENDS_ON → `System.Data.DataSetExtensions`
- DEPENDS_ON → `System.Data.Entity`
- DEPENDS_ON → `System.Data.Entity.Design`
- DEPENDS_ON → `System.Xml`

## Used by

2 references from 2 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Injected or called by (1)

- `Pams.API` — `Pams/API/Pams.API/Pams.API.csproj`:1

### Declared in (1)

- `Pams` — `Pams/Pams.sln`:1
