Skip to content

Commit aa02060

Browse files
committed
fix
1 parent d194d84 commit aa02060

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/EFCore.Ydb/test/EntityFrameworkCore.Ydb.FunctionalTests/Query/ParametricDecimalContext.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ internal sealed class CacheKeyFactory : IModelCacheKeyFactory
3030
public object Create(DbContext context, bool designTime)
3131
{
3232
var ctx = (ParametricDecimalContext)context;
33-
return (context.GetType(), designTime, ctx._p, ctx._s);
33+
34+
var options = context.GetService<IDbContextOptions>();
35+
36+
return (context.GetType(), designTime, ctx._p, ctx._s, options.Extensions);
3437
}
3538
}
3639
}

0 commit comments

Comments
 (0)