Language

OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>.OwnsMany メソッド

定義

オーバーロード

Name 説明
OwnsMany(String, String, Action<OwnedNavigationBuilder>)

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

OwnsMany(Type, String, Action<OwnedNavigationBuilder>)

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

OwnsMany(String, Type, String, Action<OwnedNavigationBuilder>)

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

OwnsMany<TNewDependentEntity>(String, String)

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

OwnsMany<TNewDependentEntity>(String, String, Action<OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>>)

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

OwnsMany<TNewDependentEntity>(String, Expression<Func<TDependentEntity, IEnumerable<TNewDependentEntity>>>, Action<OwnedNavigationBuilder<TDependentEntity, TNewDependentEntity>>)

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

OwnsMany<TNewDependentEntity>(String, Expression<Func<TDependentEntity,IEnumerable<TNewDependentEntity>>>)

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

OwnsMany<TNewDependentEntity>(Expression<Func<TDependentEntity,IEnumerable<TNewDependentEntity>>>)

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

OwnsMany<TNewDependentEntity>(Expression<Func<TDependentEntity, IEnumerable<TNewDependentEntity>>>, Action<OwnedNavigationBuilder<TDependentEntity, TNewDependentEntity>>)

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

OwnsMany<TNewDependentEntity>(String)

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

OwnsMany<TNewDependentEntity>(String, Action<OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>>)

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

OwnsMany(String, String, Action<OwnedNavigationBuilder>)

ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> OwnsMany(string ownedTypeName, string navigationName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder> buildAction);
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TEntity,TDependentEntity> OwnsMany(string ownedTypeName, string navigationName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder> buildAction);
override this.OwnsMany : string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
override this.OwnsMany : string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)>
Public Overridable Function OwnsMany (ownedTypeName As String, navigationName As String, buildAction As Action(Of OwnedNavigationBuilder)) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)
Public Overridable Function OwnsMany (ownedTypeName As String, navigationName As String, buildAction As Action(Of OwnedNavigationBuilder)) As OwnedNavigationBuilder(Of TEntity, TDependentEntity)

パラメーター

ownedTypeName
String

このリレーションシップが対象とするエンティティ型の名前。

navigationName
String

リレーションシップを表すこのエンティティ型の参照ナビゲーション プロパティの名前。

buildAction
Action<OwnedNavigationBuilder>

所有型とリレーションシップの構成を実行するアクション。

戻り値

OwnedNavigationBuilder<TEntity,TDependentEntity>

エンティティ型の構成に使用できるオブジェクト。

注釈

ナビゲーションが同じ種類であっても、各所有権リレーションシップのターゲット エンティティ型は異なるエンティティ型として扱われます。 ターゲット エンティティ型の構成は、他の所有権リレーションシップのターゲット エンティティ型には適用されません。

所有エンティティに対するほとんどの操作では、対応するナビゲーションを使用して所有者エンティティを介してアクセスする必要があります。

このメソッドを呼び出した後、 WithOwner の呼び出しをチェーンして、リレーションシップを完全に構成する必要があります。

適用対象

OwnsMany(Type, String, Action<OwnedNavigationBuilder>)

ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> OwnsMany(Type ownedType, string navigationName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder> buildAction);
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TEntity,TDependentEntity> OwnsMany(Type ownedType, string navigationName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder> buildAction);
override this.OwnsMany : Type * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
override this.OwnsMany : Type * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)>
Public Overridable Function OwnsMany (ownedType As Type, navigationName As String, buildAction As Action(Of OwnedNavigationBuilder)) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)
Public Overridable Function OwnsMany (ownedType As Type, navigationName As String, buildAction As Action(Of OwnedNavigationBuilder)) As OwnedNavigationBuilder(Of TEntity, TDependentEntity)

パラメーター

ownedType
Type

このリレーションシップが対象とするエンティティ型。

navigationName
String

リレーションシップを表すこのエンティティ型の参照ナビゲーション プロパティの名前。

buildAction
Action<OwnedNavigationBuilder>

所有型とリレーションシップの構成を実行するアクション。

戻り値

OwnedNavigationBuilder<TEntity,TDependentEntity>

エンティティ型の構成に使用できるオブジェクト。

注釈

ナビゲーションが同じ種類であっても、各所有権リレーションシップのターゲット エンティティ型は異なるエンティティ型として扱われます。 ターゲット エンティティ型の構成は、他の所有権リレーションシップのターゲット エンティティ型には適用されません。

所有エンティティに対するほとんどの操作では、対応するナビゲーションを使用して所有者エンティティを介してアクセスする必要があります。

このメソッドを呼び出した後、 WithOwner の呼び出しをチェーンして、リレーションシップを完全に構成する必要があります。

適用対象

OwnsMany(String, Type, String, Action<OwnedNavigationBuilder>)

ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> OwnsMany(string ownedTypeName, Type ownedType, string navigationName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder> buildAction);
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TEntity,TDependentEntity> OwnsMany(string ownedTypeName, Type ownedType, string navigationName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder> buildAction);
override this.OwnsMany : string * Type * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
override this.OwnsMany : string * Type * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)>
Public Overridable Function OwnsMany (ownedTypeName As String, ownedType As Type, navigationName As String, buildAction As Action(Of OwnedNavigationBuilder)) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)
Public Overridable Function OwnsMany (ownedTypeName As String, ownedType As Type, navigationName As String, buildAction As Action(Of OwnedNavigationBuilder)) As OwnedNavigationBuilder(Of TEntity, TDependentEntity)

パラメーター

ownedTypeName
String

このリレーションシップが対象とするエンティティ型の名前。

ownedType
Type

このリレーションシップが対象とするエンティティ型の CLR 型。

navigationName
String

リレーションシップを表すこのエンティティ型の参照ナビゲーション プロパティの名前。

buildAction
Action<OwnedNavigationBuilder>

所有型とリレーションシップの構成を実行するアクション。

戻り値

OwnedNavigationBuilder<TEntity,TDependentEntity>

エンティティ型の構成に使用できるオブジェクト。

注釈

ナビゲーションが同じ種類であっても、各所有権リレーションシップのターゲット エンティティ型は異なるエンティティ型として扱われます。 ターゲット エンティティ型の構成は、他の所有権リレーションシップのターゲット エンティティ型には適用されません。

所有エンティティに対するほとんどの操作では、対応するナビゲーションを使用して所有者エンティティを介してアクセスする必要があります。

このメソッドを呼び出した後、 WithOwner の呼び出しをチェーンして、リレーションシップを完全に構成する必要があります。

適用対象

OwnsMany<TNewDependentEntity>(String, String)

ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity> OwnsMany<TNewDependentEntity>(string ownedTypeName, string navigationName) where TNewDependentEntity : class;
override this.OwnsMany : string * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'DependentEntity, 'NewDependentEntity (requires 'DependentEntity : null and 'NewDependentEntity : null)> (requires 'NewDependentEntity : null)
Public Overridable Function OwnsMany(Of TNewDependentEntity As Class) (ownedTypeName As String, navigationName As String) As OwnedNavigationBuilder(Of TDependentEntity, TNewDependentEntity)

型パラメーター

TNewDependentEntity

このリレーションシップが対象とするエンティティ型。

パラメーター

ownedTypeName
String

このリレーションシップが対象とするエンティティ型の名前。

navigationName
String

リレーションシップを表すこのエンティティ型の参照ナビゲーション プロパティの名前。

戻り値

OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>

所有型とリレーションシップの構成に使用できるオブジェクト。

注釈

ナビゲーションが同じ種類であっても、各所有権リレーションシップのターゲット エンティティ型は異なるエンティティ型として扱われます。 ターゲット エンティティ型の構成は、他の所有権リレーションシップのターゲット エンティティ型には適用されません。

所有エンティティに対するほとんどの操作では、対応するナビゲーションを使用して所有者エンティティを介してアクセスする必要があります。

このメソッドを呼び出した後、 WithOwner の呼び出しをチェーンして、リレーションシップを完全に構成する必要があります。

適用対象

OwnsMany<TNewDependentEntity>(String, String, Action<OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>>)

ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> OwnsMany<TNewDependentEntity>(string ownedTypeName, string navigationName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>> buildAction) where TNewDependentEntity : class;
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TEntity,TDependentEntity> OwnsMany<TNewDependentEntity>(string ownedTypeName, string navigationName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>> buildAction) where TNewDependentEntity : class;
override this.OwnsMany : string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'DependentEntity, 'NewDependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'NewDependentEntity : null)
override this.OwnsMany : string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'DependentEntity, 'NewDependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)> (requires 'NewDependentEntity : null)
Public Overridable Function OwnsMany(Of TNewDependentEntity As Class) (ownedTypeName As String, navigationName As String, buildAction As Action(Of OwnedNavigationBuilder(Of TDependentEntity, TNewDependentEntity))) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)
Public Overridable Function OwnsMany(Of TNewDependentEntity As Class) (ownedTypeName As String, navigationName As String, buildAction As Action(Of OwnedNavigationBuilder(Of TDependentEntity, TNewDependentEntity))) As OwnedNavigationBuilder(Of TEntity, TDependentEntity)

型パラメーター

TNewDependentEntity

このリレーションシップが対象とするエンティティ型。

パラメーター

ownedTypeName
String

このリレーションシップが対象とするエンティティ型の名前。

navigationName
String

リレーションシップを表すこのエンティティ型の参照ナビゲーション プロパティの名前。

buildAction
Action<OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>>

所有型とリレーションシップの構成を実行するアクション。

戻り値

OwnedNavigationBuilder<TEntity,TDependentEntity>

エンティティ型の構成に使用できるオブジェクト。

注釈

ナビゲーションが同じ種類であっても、各所有権リレーションシップのターゲット エンティティ型は異なるエンティティ型として扱われます。 ターゲット エンティティ型の構成は、他の所有権リレーションシップのターゲット エンティティ型には適用されません。

所有エンティティに対するほとんどの操作では、対応するナビゲーションを使用して所有者エンティティを介してアクセスする必要があります。

このメソッドを呼び出した後、 WithOwner の呼び出しをチェーンして、リレーションシップを完全に構成する必要があります。

適用対象

OwnsMany<TNewDependentEntity>(String, Expression<Func<TDependentEntity, IEnumerable<TNewDependentEntity>>>, Action<OwnedNavigationBuilder<TDependentEntity, TNewDependentEntity>>)

ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> OwnsMany<TNewDependentEntity>(string ownedTypeName, System.Linq.Expressions.Expression<Func<TDependentEntity,System.Collections.Generic.IEnumerable<TNewDependentEntity>?>> navigationExpression, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>> buildAction) where TNewDependentEntity : class;
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TEntity,TDependentEntity> OwnsMany<TNewDependentEntity>(string ownedTypeName, System.Linq.Expressions.Expression<Func<TDependentEntity,System.Collections.Generic.IEnumerable<TNewDependentEntity>>> navigationExpression, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>> buildAction) where TNewDependentEntity : class;
override this.OwnsMany : string * System.Linq.Expressions.Expression<Func<'DependentEntity, seq<'NewDependentEntity>>> * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'DependentEntity, 'NewDependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'NewDependentEntity : null)
override this.OwnsMany : string * System.Linq.Expressions.Expression<Func<'DependentEntity, seq<'NewDependentEntity>>> * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'DependentEntity, 'NewDependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)> (requires 'NewDependentEntity : null)
Public Overridable Function OwnsMany(Of TNewDependentEntity As Class) (ownedTypeName As String, navigationExpression As Expression(Of Func(Of TDependentEntity, IEnumerable(Of TNewDependentEntity))), buildAction As Action(Of OwnedNavigationBuilder(Of TDependentEntity, TNewDependentEntity))) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)
Public Overridable Function OwnsMany(Of TNewDependentEntity As Class) (ownedTypeName As String, navigationExpression As Expression(Of Func(Of TDependentEntity, IEnumerable(Of TNewDependentEntity))), buildAction As Action(Of OwnedNavigationBuilder(Of TDependentEntity, TNewDependentEntity))) As OwnedNavigationBuilder(Of TEntity, TDependentEntity)

型パラメーター

TNewDependentEntity

このリレーションシップが対象とするエンティティ型。

パラメーター

ownedTypeName
String

このリレーションシップが対象とするエンティティ型の名前。

navigationExpression
Expression<Func<TDependentEntity,IEnumerable<TNewDependentEntity>>>

リレーションシップ (customer => customer.Address) を表すこのエンティティ型の参照ナビゲーション プロパティを表すラムダ式。

buildAction
Action<OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>>

所有型とリレーションシップの構成を実行するアクション。

戻り値

OwnedNavigationBuilder<TEntity,TDependentEntity>

エンティティ型の構成に使用できるオブジェクト。

注釈

ナビゲーションが同じ種類であっても、各所有権リレーションシップのターゲット エンティティ型は異なるエンティティ型として扱われます。 ターゲット エンティティ型の構成は、他の所有権リレーションシップのターゲット エンティティ型には適用されません。

所有エンティティに対するほとんどの操作では、対応するナビゲーションを使用して所有者エンティティを介してアクセスする必要があります。

このメソッドを呼び出した後、 WithOwner の呼び出しをチェーンして、リレーションシップを完全に構成する必要があります。

適用対象

OwnsMany<TNewDependentEntity>(String, Expression<Func<TDependentEntity,IEnumerable<TNewDependentEntity>>>)

ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity> OwnsMany<TNewDependentEntity>(string ownedTypeName, System.Linq.Expressions.Expression<Func<TDependentEntity,System.Collections.Generic.IEnumerable<TNewDependentEntity>?>> navigationExpression) where TNewDependentEntity : class;
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity> OwnsMany<TNewDependentEntity>(string ownedTypeName, System.Linq.Expressions.Expression<Func<TDependentEntity,System.Collections.Generic.IEnumerable<TNewDependentEntity>>> navigationExpression) where TNewDependentEntity : class;
override this.OwnsMany : string * System.Linq.Expressions.Expression<Func<'DependentEntity, seq<'NewDependentEntity>>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'DependentEntity, 'NewDependentEntity (requires 'DependentEntity : null and 'NewDependentEntity : null)> (requires 'NewDependentEntity : null)
Public Overridable Function OwnsMany(Of TNewDependentEntity As Class) (ownedTypeName As String, navigationExpression As Expression(Of Func(Of TDependentEntity, IEnumerable(Of TNewDependentEntity)))) As OwnedNavigationBuilder(Of TDependentEntity, TNewDependentEntity)

型パラメーター

TNewDependentEntity

このリレーションシップが対象とするエンティティ型。

パラメーター

ownedTypeName
String

このリレーションシップが対象とするエンティティ型の名前。

navigationExpression
Expression<Func<TDependentEntity,IEnumerable<TNewDependentEntity>>>

リレーションシップ (customer => customer.Address) を表すこのエンティティ型の参照ナビゲーション プロパティを表すラムダ式。

戻り値

OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>

所有型とリレーションシップの構成に使用できるオブジェクト。

注釈

ナビゲーションが同じ種類であっても、各所有権リレーションシップのターゲット エンティティ型は異なるエンティティ型として扱われます。 ターゲット エンティティ型の構成は、他の所有権リレーションシップのターゲット エンティティ型には適用されません。

所有エンティティに対するほとんどの操作では、対応するナビゲーションを使用して所有者エンティティを介してアクセスする必要があります。

このメソッドを呼び出した後、 WithOwner の呼び出しをチェーンして、リレーションシップを完全に構成する必要があります。

適用対象

OwnsMany<TNewDependentEntity>(Expression<Func<TDependentEntity,IEnumerable<TNewDependentEntity>>>)

ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity> OwnsMany<TNewDependentEntity>(System.Linq.Expressions.Expression<Func<TDependentEntity,System.Collections.Generic.IEnumerable<TNewDependentEntity>?>> navigationExpression) where TNewDependentEntity : class;
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity> OwnsMany<TNewDependentEntity>(System.Linq.Expressions.Expression<Func<TDependentEntity,System.Collections.Generic.IEnumerable<TNewDependentEntity>>> navigationExpression) where TNewDependentEntity : class;
override this.OwnsMany : System.Linq.Expressions.Expression<Func<'DependentEntity, seq<'NewDependentEntity>>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'DependentEntity, 'NewDependentEntity (requires 'DependentEntity : null and 'NewDependentEntity : null)> (requires 'NewDependentEntity : null)
Public Overridable Function OwnsMany(Of TNewDependentEntity As Class) (navigationExpression As Expression(Of Func(Of TDependentEntity, IEnumerable(Of TNewDependentEntity)))) As OwnedNavigationBuilder(Of TDependentEntity, TNewDependentEntity)

型パラメーター

TNewDependentEntity

このリレーションシップが対象とするエンティティ型。

パラメーター

navigationExpression
Expression<Func<TDependentEntity,IEnumerable<TNewDependentEntity>>>

リレーションシップ (customer => customer.Address) を表すこのエンティティ型の参照ナビゲーション プロパティを表すラムダ式。

戻り値

OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>

所有型とリレーションシップの構成に使用できるオブジェクト。

注釈

ナビゲーションが同じ種類であっても、各所有権リレーションシップのターゲット エンティティ型は異なるエンティティ型として扱われます。 ターゲット エンティティ型の構成は、他の所有権リレーションシップのターゲット エンティティ型には適用されません。

所有エンティティに対するほとんどの操作では、対応するナビゲーションを使用して所有者エンティティを介してアクセスする必要があります。

このメソッドを呼び出した後、 WithOwner の呼び出しをチェーンして、リレーションシップを完全に構成する必要があります。

適用対象

OwnsMany<TNewDependentEntity>(Expression<Func<TDependentEntity, IEnumerable<TNewDependentEntity>>>, Action<OwnedNavigationBuilder<TDependentEntity, TNewDependentEntity>>)

ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> OwnsMany<TNewDependentEntity>(System.Linq.Expressions.Expression<Func<TDependentEntity,System.Collections.Generic.IEnumerable<TNewDependentEntity>?>> navigationExpression, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>> buildAction) where TNewDependentEntity : class;
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TEntity,TDependentEntity> OwnsMany<TNewDependentEntity>(System.Linq.Expressions.Expression<Func<TDependentEntity,System.Collections.Generic.IEnumerable<TNewDependentEntity>>> navigationExpression, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>> buildAction) where TNewDependentEntity : class;
override this.OwnsMany : System.Linq.Expressions.Expression<Func<'DependentEntity, seq<'NewDependentEntity>>> * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'DependentEntity, 'NewDependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'NewDependentEntity : null)
override this.OwnsMany : System.Linq.Expressions.Expression<Func<'DependentEntity, seq<'NewDependentEntity>>> * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'DependentEntity, 'NewDependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)> (requires 'NewDependentEntity : null)
Public Overridable Function OwnsMany(Of TNewDependentEntity As Class) (navigationExpression As Expression(Of Func(Of TDependentEntity, IEnumerable(Of TNewDependentEntity))), buildAction As Action(Of OwnedNavigationBuilder(Of TDependentEntity, TNewDependentEntity))) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)
Public Overridable Function OwnsMany(Of TNewDependentEntity As Class) (navigationExpression As Expression(Of Func(Of TDependentEntity, IEnumerable(Of TNewDependentEntity))), buildAction As Action(Of OwnedNavigationBuilder(Of TDependentEntity, TNewDependentEntity))) As OwnedNavigationBuilder(Of TEntity, TDependentEntity)

型パラメーター

TNewDependentEntity

このリレーションシップが対象とするエンティティ型。

パラメーター

navigationExpression
Expression<Func<TDependentEntity,IEnumerable<TNewDependentEntity>>>

リレーションシップ (customer => customer.Address) を表すこのエンティティ型の参照ナビゲーション プロパティを表すラムダ式。

buildAction
Action<OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>>

所有型とリレーションシップの構成を実行するアクション。

戻り値

OwnedNavigationBuilder<TEntity,TDependentEntity>

エンティティ型の構成に使用できるオブジェクト。

注釈

ナビゲーションが同じ種類であっても、各所有権リレーションシップのターゲット エンティティ型は異なるエンティティ型として扱われます。 ターゲット エンティティ型の構成は、他の所有権リレーションシップのターゲット エンティティ型には適用されません。

所有エンティティに対するほとんどの操作では、対応するナビゲーションを使用して所有者エンティティを介してアクセスする必要があります。

このメソッドを呼び出した後、 WithOwner の呼び出しをチェーンして、リレーションシップを完全に構成する必要があります。

適用対象

OwnsMany<TNewDependentEntity>(String)

ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity> OwnsMany<TNewDependentEntity>(string navigationName) where TNewDependentEntity : class;
override this.OwnsMany : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'DependentEntity, 'NewDependentEntity (requires 'DependentEntity : null and 'NewDependentEntity : null)> (requires 'NewDependentEntity : null)
Public Overridable Function OwnsMany(Of TNewDependentEntity As Class) (navigationName As String) As OwnedNavigationBuilder(Of TDependentEntity, TNewDependentEntity)

型パラメーター

TNewDependentEntity

このリレーションシップが対象とするエンティティ型。

パラメーター

navigationName
String

リレーションシップを表すこのエンティティ型の参照ナビゲーション プロパティの名前。

戻り値

OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>

所有型とリレーションシップの構成に使用できるオブジェクト。

注釈

ナビゲーションが同じ種類であっても、各所有権リレーションシップのターゲット エンティティ型は異なるエンティティ型として扱われます。 ターゲット エンティティ型の構成は、他の所有権リレーションシップのターゲット エンティティ型には適用されません。

所有エンティティに対するほとんどの操作では、対応するナビゲーションを使用して所有者エンティティを介してアクセスする必要があります。

このメソッドを呼び出した後、 WithOwner の呼び出しをチェーンして、リレーションシップを完全に構成する必要があります。

適用対象

OwnsMany<TNewDependentEntity>(String, Action<OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>>)

ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs
ソース:
OwnedNavigationBuilder`.cs

ターゲット エンティティがこのエンティティ (またはその一部) によって所有されているリレーションシップを構成します。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> OwnsMany<TNewDependentEntity>(string navigationName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>> buildAction) where TNewDependentEntity : class;
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TEntity,TDependentEntity> OwnsMany<TNewDependentEntity>(string navigationName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>> buildAction) where TNewDependentEntity : class;
override this.OwnsMany : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'DependentEntity, 'NewDependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'NewDependentEntity : null)
override this.OwnsMany : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'DependentEntity, 'NewDependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)> (requires 'NewDependentEntity : null)
Public Overridable Function OwnsMany(Of TNewDependentEntity As Class) (navigationName As String, buildAction As Action(Of OwnedNavigationBuilder(Of TDependentEntity, TNewDependentEntity))) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)
Public Overridable Function OwnsMany(Of TNewDependentEntity As Class) (navigationName As String, buildAction As Action(Of OwnedNavigationBuilder(Of TDependentEntity, TNewDependentEntity))) As OwnedNavigationBuilder(Of TEntity, TDependentEntity)

型パラメーター

TNewDependentEntity

このリレーションシップが対象とするエンティティ型。

パラメーター

navigationName
String

リレーションシップを表すこのエンティティ型の参照ナビゲーション プロパティの名前。

buildAction
Action<OwnedNavigationBuilder<TDependentEntity,TNewDependentEntity>>

所有型とリレーションシップの構成を実行するアクション。

戻り値

OwnedNavigationBuilder<TEntity,TDependentEntity>

エンティティ型の構成に使用できるオブジェクト。

注釈

ナビゲーションが同じ種類であっても、各所有権リレーションシップのターゲット エンティティ型は異なるエンティティ型として扱われます。 ターゲット エンティティ型の構成は、他の所有権リレーションシップのターゲット エンティティ型には適用されません。

所有エンティティに対するほとんどの操作では、対応するナビゲーションを使用して所有者エンティティを介してアクセスする必要があります。

このメソッドを呼び出した後、 WithOwner の呼び出しをチェーンして、リレーションシップを完全に構成する必要があります。

適用対象