CosmosEntityTypeBuilderExtensions.ToJsonProperty Yöntem

Tanım

Aşırı Yüklemeler

ToJsonProperty(OwnedNavigationBuilder, String)

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

ToJsonProperty(IConventionEntityTypeBuilder, String, Boolean)

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

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

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

ToJsonProperty(OwnedNavigationBuilder, String)

Ekli belge olarak depolandığında varlığın eşlendiği özellik adını yapılandırılı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ılan varlık türünün oluşturucusu.

name
String

Üst özelliğin adı.

Döndürülenler

Birden çok çağrının zincirlenebilmesi için aynı oluşturucu örneği.

Açıklamalar

Daha fazla bilgi ve örnek için varlık türlerini ve ilişkilerini modelleme ve EF Core ile Azure Cosmos DB'ye erişme konularına bakın.

Şunlara uygulanır

ToJsonProperty(IConventionEntityTypeBuilder, String, Boolean)

Ekli belge olarak depolandığında varlığın eşlendiği özellik adını yapılandırılı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ılan varlık türünün oluşturucusu.

name
String

Üst özelliğin adı.

fromDataAnnotation
Boolean

Yapılandırmanın bir veri ek açıklaması kullanılarak belirtilip belirtilmediğinden emin olun.

Döndürülenler

Yapılandırma uygulandıysa aynı oluşturucu örneği, null aksi takdirde.

Açıklamalar

Daha fazla bilgi ve örnek için varlık türlerini ve ilişkilerini modelleme ve EF Core ile Azure Cosmos DB'ye erişme konularına bakın.

Şunlara uygulanır

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

Ekli belge olarak depolandığında varlığın eşlendiği özellik adını yapılandırılı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

TEntity TOwnerEntity
TDependentEntity

Parametreler

entityTypeBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

Yapılandırılan varlık türünün oluşturucusu.

name
String

Üst özelliğin adı.

Döndürülenler

OwnedNavigationBuilder<TEntity,TDependentEntity>

Birden çok çağrının zincirlenebilmesi için aynı oluşturucu örneği.

Açıklamalar

Daha fazla bilgi ve örnek için varlık türlerini ve ilişkilerini modelleme ve EF Core ile Azure Cosmos DB'ye erişme konularına bakın.

Şunlara uygulanır