Entity Framework Code First で Azure Elastic データベース パターンを使用しています。
新しいシャード データベースを作成すると、PointShardマップを作成しようとすると次の例外がスローされます。
     // Register the mapping of the tenant to the shard in the shard map.
        // After this step, DDR on the shard map can be used
        PointMapping<Guid> mapping;
        if (!ShardMap.TryGetMappingForKey(key, out mapping))
        {
            ShardMap.CreatePointMapping(key, shard);
        }
ストアド プロシージャ '__ShardManagement.spBulkOperationShardMappingsLocal' が見つかりませんでした
EF スキーマは作成されていますが、シャーディング スキーマとストアド プロシージャは生成されていません。
私のシャーディングコンポーネントが確実にDbContext生成されるようにするにはどうすればよいですか?