Skip to main content

cosmos-provider

Implementation details for the EF Core Azure Cosmos DB provider. Use when changing Cosmos-specific code.

ソース情報

リポジトリ
dotnet/efcore
ソースの最終更新活動
2026年5月24日 16:45
検出された SKILL.md の言語
英語
スター
14,798
フォーク
3,437

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
cosmos-provider
description
Implementation details for the EF Core Azure Cosmos DB provider. Use when changing Cosmos-specific code.
user-invocable
false
# Cosmos DB Provider Non-relational provider with its own parallel query pipeline. Uses JSON for document materialization. ## Key Differences from Relational - No migrations — use `EnsureCreated()` - Documents as JSON — owned and complex types become embedded objects - Partition key configuration required for performance - `ETag` for optimistic concurrency - No cross-container joins ## Azure Cosmos DB Emulator for Tests - `TestEnvironment.InitializeAsync()` auto-starts a `Testcontainers.CosmosDb` container when `Test__Cosmos__DefaultConnection` is not set. Set the env var to use an existing emulator instead. - Skip tests requiring unsupported features on the Linux emulator with ` [ConditionalFact(typeof(CosmosTestEnvironment), nameof(CosmosTestEnvironment.IsNotLinuxEmulator))]`.
GitHubで見る