data-api-builder-relationships
Model GraphQL relationships between Data API Builder entities, including one-to-many, many-to-one, and many-to-many via linking objects.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Model GraphQL relationships between Data API Builder entities, including one-to-many, many-to-one, and many-to-many via linking objects.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run SQL Commander as a companion container for browser-based SQL access, with optional Azure Container Apps configuration.
Orchestrate SQL Server and Data API Builder with .NET Aspire for local development, health-aware startup, and dashboard-driven diagnostics.
Add MCP Inspector to .NET Aspire AppHost for local SQL MCP Server validation and tool discovery.
Add SQL Commander to .NET Aspire for lightweight SQL browsing and query execution during local DAB development.
Use SQL Database Projects (.sqlproj) with .NET Aspire for declarative schema deployment via dacpac.
Deploy Data API Builder and SQL MCP Server to Azure App Service for Linux, with or without containers.
| name | data-api-builder-relationships |
| description | Model GraphQL relationships between Data API Builder entities, including one-to-many, many-to-one, and many-to-many via linking objects. |
| license | MIT |
one (to-one) or many (to-many).relationships block on the source entity with target.entity and cardinality.source.fields and target.fields when DAB cannot infer from a foreign key.linking.object plus linking.source.fields and linking.target.fields.target.entity back to the source entity and provide explicit fields.source.fields/target.fields over FK inference when schemas evolve."Book": {
"source": "dbo.books",
"relationships": {
"authors": {
"cardinality": "many",
"target.entity": "Author",
"source.fields": [ "id" ],
"target.fields": [ "id" ],
"linking.object": "dbo.books_authors",
"linking.source.fields": [ "book_id" ],
"linking.target.fields": [ "author_id" ]
}
}
}
data-api-builder-graphqldata-api-builder-configdata-api-builder-cli