Skip to content

PamsDatabaseSolution

reference
1 min readUpdated

Kind: Module

Source: Pams/Database/Pams.Database/PamsDatabaseSolution/PamsDatabaseSolution.sln (line 1)

Part of: Pams

.NET solution file

PamsDatabaseSolution is the .NET solution file for database-related projects in Pams. It serves as the common entry point for restoring dependencies, building the database components, and opening them in compatible .NET tooling.

Diagram

mermaid
graph TD
  Solution[PamsDatabaseSolution.sln]
  Solution --> DatabaseProjects[Database Projects]
  DatabaseProjects --> Build[dotnet build]
  DatabaseProjects --> Restore[dotnet restore]
  DatabaseProjects --> IDE[.NET IDE]

Usage

ts
import { execFileSync } from "node:child_process";

const solutionPath =
  "Pams/Database/Pams.Database/PamsDatabaseSolution/PamsDatabaseSolution.sln";

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

AI Coding Instructions

  • Keep database project references and build settings managed through PamsDatabaseSolution.sln.
  • Run dotnet restore before building when dependencies are not available locally.
  • Use dotnet build against the solution path to validate changes across included database projects.
  • Update the solution file when adding or removing database projects.

Relationships

  • MODULE_DECLARES → Pams.Database

Was this page helpful?

Download as PDF