CosmosEntityTypeBuilderExtensions.ToJsonProperty 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
ToJsonProperty(OwnedNavigationBuilder, String) |
포함된 문서로 저장할 때 엔터티가 매핑되는 속성 이름을 구성합니다. |
ToJsonProperty(IConventionEntityTypeBuilder, String, Boolean) |
포함된 문서로 저장할 때 엔터티가 매핑되는 속성 이름을 구성합니다. |
ToJsonProperty<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>, String) |
포함된 문서로 저장할 때 엔터티가 매핑되는 속성 이름을 구성합니다. |
ToJsonProperty(OwnedNavigationBuilder, String)
포함된 문서로 저장할 때 엔터티가 매핑되는 속성 이름을 구성합니다.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToJsonProperty (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder entityTypeBuilder, string name);
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ToJsonProperty (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder entityTypeBuilder, string? name);
static member ToJsonProperty : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function ToJsonProperty (entityTypeBuilder As OwnedNavigationBuilder, name As String) As OwnedNavigationBuilder
매개 변수
- entityTypeBuilder
- OwnedNavigationBuilder
구성 중인 엔터티 형식에 대한 작성기입니다.
- name
- String
부모 속성의 이름입니다.
반환
동일한 작성기가 여러 호출을 연결할 수 있도록 instance.
설명
자세한 내용 과 예제는 엔터티 형식 및 관계 모델링 및 EF Core를 사용하여 Azure Cosmos DB 액세스를 참조하세요.
적용 대상
ToJsonProperty(IConventionEntityTypeBuilder, String, Boolean)
포함된 문서로 저장할 때 엔터티가 매핑되는 속성 이름을 구성합니다.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder ToJsonProperty (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, string name, bool fromDataAnnotation = false);
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder? ToJsonProperty (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, string? name, bool fromDataAnnotation = false);
static member ToJsonProperty : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder
<Extension()>
Public Function ToJsonProperty (entityTypeBuilder As IConventionEntityTypeBuilder, name As String, Optional fromDataAnnotation As Boolean = false) As IConventionEntityTypeBuilder
매개 변수
- entityTypeBuilder
- IConventionEntityTypeBuilder
구성 중인 엔터티 형식에 대한 작성기입니다.
- name
- String
부모 속성의 이름입니다.
- fromDataAnnotation
- Boolean
데이터 주석을 사용하여 구성을 지정했는지 여부를 나타냅니다.
반환
구성이 적용 null
된 경우 동일한 작성기가 instance. 그렇지 않으면 입니다.
설명
자세한 내용 과 예제는 엔터티 형식 및 관계 모델링 및 EF Core를 사용하여 Azure Cosmos DB 액세스를 참조하세요.
적용 대상
ToJsonProperty<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>, String)
포함된 문서로 저장할 때 엔터티가 매핑되는 속성 이름을 구성합니다.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TEntity,TDependentEntity> ToJsonProperty<TEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TEntity,TDependentEntity> entityTypeBuilder, string name) where TEntity : class where TDependentEntity : class;
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ToJsonProperty<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> entityTypeBuilder, string? name) where TOwnerEntity : class where TDependentEntity : class;
static member ToJsonProperty : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)> * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)> (requires 'Entity : null and 'DependentEntity : null)
static member ToJsonProperty : 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 ToJsonProperty(Of TEntity As Class, TDependentEntity As Class) (entityTypeBuilder As OwnedNavigationBuilder(Of TEntity, TDependentEntity), name As String) As OwnedNavigationBuilder(Of TEntity, TDependentEntity)
<Extension()>
Public Function ToJsonProperty(Of TOwnerEntity As Class, TDependentEntity As Class) (entityTypeBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity), name As String) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)
형식 매개 변수
- TEntity TOwnerEntity
- TDependentEntity
매개 변수
- entityTypeBuilder
- OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>
구성 중인 엔터티 형식에 대한 작성기입니다.
- name
- String
부모 속성의 이름입니다.
반환
동일한 작성기가 여러 호출을 연결할 수 있도록 instance.
설명
자세한 내용 과 예제는 엔터티 형식 및 관계 모델링 및 EF Core를 사용하여 Azure Cosmos DB 액세스를 참조하세요.
적용 대상
Entity Framework