次の方法で共有


DbComplexPropertyEntry<TEntity, TComplexProperty>.ComplexProperty<TNestedComplexProperty> メソッド (String)

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

このプロパティの入れ子の複合プロパティを表すオブジェクトを取得します。

名前空間:  System.Data.Entity.Infrastructure
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
Public Function ComplexProperty(Of TNestedComplexProperty) ( _
    propertyName As String _
) As DbComplexPropertyEntry(Of TEntity, TNestedComplexProperty)
'使用
Dim instance As DbComplexPropertyEntry 
Dim propertyName As String 
Dim returnValue As DbComplexPropertyEntry(Of TEntity, TNestedComplexProperty)

returnValue = instance.ComplexProperty(propertyName)
public DbComplexPropertyEntry<TEntity, TNestedComplexProperty> ComplexProperty<TNestedComplexProperty>(
    string propertyName
)
public:
generic<typename TNestedComplexProperty>
DbComplexPropertyEntry<TEntity, TNestedComplexProperty>^ ComplexProperty(
    String^ propertyName
)
member ComplexProperty : 
        propertyName:string -> DbComplexPropertyEntry<'TEntity, 'TNestedComplexProperty> 
JScript does not support generic types and methods.

型パラメーター

  • TNestedComplexProperty
    入れ子プロパティの型。

パラメーター

  • propertyName
    型 : System.String
    入れ子プロパティの名前。

戻り値

型 : System.Data.Entity.Infrastructure.DbComplexPropertyEntry<TEntity, TNestedComplexProperty>
入れ子プロパティを表すオブジェクト。

参照

参照

DbComplexPropertyEntry<TEntity, TComplexProperty> クラス

ComplexProperty オーバーロード

System.Data.Entity.Infrastructure 名前空間