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
mermaidgraph TD Solution[PamsDatabaseSolution.sln] Solution --> DatabaseProjects[Database Projects] DatabaseProjects --> Build[dotnet build] DatabaseProjects --> Restore[dotnet restore] DatabaseProjects --> IDE[.NET IDE]
Usage
tsimport { 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 restorebefore building when dependencies are not available locally. - Use
dotnet buildagainst 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?