RelationalOwnedNavigationBuilderExtensions
HasColumnType(OwnedNavigationBuilder, String)
HasColumnType<TOwnerEntity, TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, String)
HasJsonPropertyName(OwnedNavigationBuilder, String)
HasJsonPropertyName<TSource, TTarget>(OwnedNavigationBuilder<TSource, TTarget>, String)
ToJson(OwnedNavigationBuilder)
ToJson(OwnedNavigationBuilder, String)
ToJson<TOwnerEntity, TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>)
ToJson<TOwnerEntity, TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, String)
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<TOwnerEntity!, TDependentEntity!>! ToJson<TOwnerEntity, TDependentEntity>(this OwnedNavigationBuilder<TOwnerEntity!, TDependentEntity!>! builder, string? jsonColumnName)
where TOwnerEntity, class
where TDependentEntity, class;
}
}
| 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 |
| 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