다음을 통해 공유


RelationalOwnedNavigationBuilderExtensions.ToJson 메서드

정의

오버로드

ToJson(OwnedNavigationBuilder)

이 엔터티 형식과 이 엔터티가 소유한 엔터티가 데이터베이스의 JSON 열에 매핑되는 관계를 구성합니다.

ToJson(OwnedNavigationBuilder, String)

이 엔터티 형식과 이 엔터티가 소유한 엔터티가 데이터베이스의 JSON 열에 매핑되는 관계를 구성합니다.

ToJson<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>)

이 엔터티 형식과 이 엔터티가 소유한 엔터티가 데이터베이스의 JSON 열에 매핑되는 관계를 구성합니다.

ToJson<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>, String)

이 엔터티 형식과 이 엔터티가 소유한 엔터티가 데이터베이스의 JSON 열에 매핑되는 관계를 구성합니다.

ToJson(OwnedNavigationBuilder)

이 엔터티 형식과 이 엔터티가 소유한 엔터티가 데이터베이스의 JSON 열에 매핑되는 관계를 구성합니다.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToJson (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder builder);
static member ToJson : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToJson (builder As OwnedNavigationBuilder) As OwnedNavigationBuilder

매개 변수

builder
OwnedNavigationBuilder

구성 중인 소유 탐색에 대한 작성기입니다.

반환

여러 호출을 연결할 수 있도록 동일한 작성기가 instance.

설명

이 메서드는 지정된 소유권 구조의 가장 외부 소유 엔터티에 대해서만 지정해야 합니다. 이 가 소유한 모든 엔터티는 동일한 JSON 열에 자동으로 매핑됩니다. 소유권은 여전히 명시적으로 정의되어야 합니다. 탐색 이름은 JSON 열 이름으로 사용됩니다.

적용 대상

ToJson(OwnedNavigationBuilder, String)

이 엔터티 형식과 이 엔터티가 소유한 엔터티가 데이터베이스의 JSON 열에 매핑되는 관계를 구성합니다.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToJson (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder builder, string? jsonColumnName);
static member ToJson : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToJson (builder As OwnedNavigationBuilder, jsonColumnName As String) As OwnedNavigationBuilder

매개 변수

builder
OwnedNavigationBuilder

구성 중인 소유 탐색에 대한 작성기입니다.

jsonColumnName
String

사용할 JSON 열 이름입니다.

반환

여러 호출을 연결할 수 있도록 동일한 작성기가 instance.

설명

이 메서드는 지정된 소유권 구조의 가장 외부 소유 엔터티에 대해서만 지정해야 합니다. 이 가 소유한 모든 엔터티는 동일한 JSON 열에 자동으로 매핑됩니다. 소유권은 여전히 명시적으로 정의되어야 합니다.

적용 대상

ToJson<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>)

이 엔터티 형식과 이 엔터티가 소유한 엔터티가 데이터베이스의 JSON 열에 매핑되는 관계를 구성합니다.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ToJson<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> builder) where TOwnerEntity : class where TDependentEntity : class;
static member ToJson : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function ToJson(Of TOwnerEntity As Class, TDependentEntity As Class) (builder As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)

형식 매개 변수

TOwnerEntity
TDependentEntity

매개 변수

builder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

구성 중인 소유 탐색에 대한 작성기입니다.

반환

여러 호출을 연결할 수 있도록 동일한 작성기가 instance.

설명

이 메서드는 지정된 소유권 구조의 가장 외부 소유 엔터티에 대해서만 지정해야 합니다. 이 가 소유한 모든 엔터티는 동일한 JSON 열에 자동으로 매핑됩니다. 소유권은 여전히 명시적으로 정의되어야 합니다. 탐색 이름은 JSON 열 이름으로 사용됩니다.

적용 대상

ToJson<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>, String)

이 엔터티 형식과 이 엔터티가 소유한 엔터티가 데이터베이스의 JSON 열에 매핑되는 관계를 구성합니다.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ToJson<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> builder, string? jsonColumnName) where TOwnerEntity : class where TDependentEntity : class;
static member ToJson : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function ToJson(Of TOwnerEntity As Class, TDependentEntity As Class) (builder As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity), jsonColumnName As String) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)

형식 매개 변수

TOwnerEntity
TDependentEntity

매개 변수

builder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

구성 중인 소유 탐색에 대한 작성기입니다.

jsonColumnName
String

사용할 JSON 열 이름입니다.

반환

여러 호출을 연결할 수 있도록 동일한 작성기가 instance.

설명

이 메서드는 지정된 소유권 구조의 가장 외부 소유 엔터티에 대해서만 지정해야 합니다. 이 가 소유한 모든 엔터티는 동일한 JSON 열에 자동으로 매핑됩니다. 소유권은 여전히 명시적으로 정의되어야 합니다.

적용 대상