When we documented this we only did it in the context of Cosmos. See https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-7.0/breaking-changes#using-fromsqlraw-and-related-methods-from-the-wrong-provider-throws-use-the-correct-method Document that it also applies to in-memory. See https://github.com/dotnet/efcore/issues/30246