CosmosEntityTypeBuilderExtensions.ToJsonProperty Yöntem

Tanım

Aşırı Yüklemeler

ToJsonProperty(OwnedNavigationBuilder, String)

Gömülü belge olarak depolandığında varlığın eşlendiği özellik adını yapılandırır.

ToJsonProperty(IConventionEntityTypeBuilder, String, Boolean)

Gömülü belge olarak depolandığında varlığın eşlendiği özellik adını yapılandırır.

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

Gömülü belge olarak depolandığında varlığın eşlendiği özellik adını yapılandırır.

ToJsonProperty(OwnedNavigationBuilder, String)

Gömülü belge olarak depolandığında varlığın eşlendiği özellik adını yapılandırır.

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

Parametreler

entityTypeBuilder
OwnedNavigationBuilder

Yapılandırılmakta olan varlık türü için Oluşturucu.

name
String

Üst özelliğin adı.

Döndürülenler

OwnedNavigationBuilder

Birden çok çağrının zincirlenebilir olması için aynı Oluşturucu örneği.

Açıklamalar

daha fazla bilgi için bkz. varlık türlerini ve ilişkilerini modellemeve EF Core Azure Cosmos DB erişme .

Şunlara uygulanır

ToJsonProperty(IConventionEntityTypeBuilder, String, Boolean)

Gömülü belge olarak depolandığında varlığın eşlendiği özellik adını yapılandırır.

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

Parametreler

entityTypeBuilder
IConventionEntityTypeBuilder

Yapılandırılmakta olan varlık türü için Oluşturucu.

name
String

Üst özelliğin adı.

fromDataAnnotation
Boolean

Yapılandırmanın bir veri ek açıklaması kullanılarak mı belirtilmediğini belirtir.

Döndürülenler

IConventionEntityTypeBuilder

Yapılandırma uygulanmışsa aynı Oluşturucu örneği, null tersi durumda.

Açıklamalar

daha fazla bilgi için bkz. varlık türlerini ve ilişkilerini modellemeve EF Core Azure Cosmos DB erişme .

Şunlara uygulanır

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

Gömülü belge olarak depolandığında varlığın eşlendiği özellik adını yapılandırır.

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)

Tür Parametreleri

TDependentEntity
TOwnerEntity

Parametreler

entityTypeBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

Yapılandırılmakta olan varlık türü için Oluşturucu.

name
String

Üst özelliğin adı.

Döndürülenler

OwnedNavigationBuilder<TEntity,TDependentEntity>
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

Birden çok çağrının zincirlenebilir olması için aynı Oluşturucu örneği.

Açıklamalar

daha fazla bilgi için bkz. varlık türlerini ve ilişkilerini modellemeve EF Core Azure Cosmos DB erişme .

Şunlara uygulanır