net11.0
namespace Microsoft.EntityFrameworkCore
{
    public static class RelationalOwnedNavigationBuilderExtensions
    {
        [Obsolete("ToJson() on owned entities has been obsoleted, please switch to using complex types instead for mapping to JSON. See https://aka.ms/efcore-docs-json-owned-entities for more information, and provide feedback on https://github.com/dotnet/efcore/issues/37290 if the transition causes problems for you.", DiagnosticId = "EF8001")]
        public static OwnedNavigationBuilder! ToJson(this OwnedNavigationBuilder! builder, string? jsonColumnName);
    }
}
nuget.org
0.0 %
Reference this API
.NET
10.011.0
Information specific to net11.0
Assemblies

Microsoft.EntityFrameworkCore.Relational , Version=11.0.0.0, PublicKeyToken=adb9793829ddae60

Microsoft.EntityFrameworkCore.Relational , Version=10.0.5.0, PublicKeyToken=adb9793829ddae60

Referencing

Your project needs a package reference to Microsoft.EntityFrameworkCore.Relational.

Package Microsoft.EntityFrameworkCore.Relational (11.0.0-preview.2.26159.112) net11.0
Obsolete EF8001: ToJson() on owned entities has been obsoleted, please switch to using complex types instead for mapping to JSON. See https://aka.ms/efcore-docs-json-owned-entities for more information, and provide feedback on https://github.com/dotnet/efcore/issues/37290 if the transition causes problems for you.
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API