CosmosEntityTypeBuilderExtensions.ToJsonProperty メソッド

定義

オーバーロード

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

親プロパティの名前。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの種類とリレーションシップのモデル化」および「 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 それ以外の場合は 。

注釈

詳細と例については、「 エンティティの種類とリレーションシップのモデル化」および「 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

親プロパティの名前。

戻り値

OwnedNavigationBuilder<TEntity,TDependentEntity>

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティの種類とリレーションシップのモデル化」および「 EF Core を使用した Azure Cosmos DB へのアクセス 」を参照してください。

適用対象