# System.Data.Entity.Design

**Kind:** Service

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

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

NuGet package dependency

`System.Data.Entity.Design` is a NuGet package dependency declared by `Pams.Common.csproj`. It supports Entity Framework design-time APIs used by legacy-format project configuration and build workflows.

## Diagram

```mermaid
sequenceDiagram
    participant Build as Build Process
    participant Project as Pams.Common.csproj
    participant NuGet as NuGet Restore
    participant Design as System.Data.Entity.Design

    Build->>Project: Read package dependency
    Project->>NuGet: Restore package
    NuGet->>Design: Resolve design-time assembly
    Design-->>Build: Make Entity Framework design APIs available
```

## Usage

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

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

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

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

## AI Coding Instructions

- Keep `System.Data.Entity.Design` declared through the project’s NuGet package configuration.
- Treat this package as a .NET build dependency; JavaScript code should invoke `dotnet restore` or `dotnet build` rather than import the assembly.
- Check Entity Framework references when changing package versions or project target frameworks.
- Preserve legacy-format project metadata when editing `Pams.Common.csproj`.

## Used by

1 reference from 1 file. 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.Common` — `Pams/Logic/Common/Pams.Common.csproj`:1
