共用方式為


DbComplexPropertyEntry<TEntity,TComplexProperty>.ComplexProperty 方法

定義

多載

ComplexProperty(String)

取得代表這個屬性之巢狀複雜屬性的物件。

ComplexProperty<TNestedComplexProperty>(Expression<Func<TComplexProperty,TNestedComplexProperty>>)

取得代表這個屬性之巢狀複雜屬性的物件。

ComplexProperty<TNestedComplexProperty>(String)

取得代表這個屬性之巢狀複雜屬性的物件。

ComplexProperty(String)

取得代表這個屬性之巢狀複雜屬性的物件。

public System.Data.Entity.Infrastructure.DbComplexPropertyEntry ComplexProperty (string propertyName);
member this.ComplexProperty : string -> System.Data.Entity.Infrastructure.DbComplexPropertyEntry
Public Function ComplexProperty (propertyName As String) As DbComplexPropertyEntry

參數

propertyName
String

巢狀屬性的名稱。

傳回

表示巢狀屬性的物件。

適用於

ComplexProperty<TNestedComplexProperty>(Expression<Func<TComplexProperty,TNestedComplexProperty>>)

取得代表這個屬性之巢狀複雜屬性的物件。

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1719:ParameterNamesShouldNotMatchMemberNames", Justification="Rule predates more fluent naming conventions.", MessageId="0#")]
public System.Data.Entity.Infrastructure.DbComplexPropertyEntry<TEntity,TNestedComplexProperty> ComplexProperty<TNestedComplexProperty> (System.Linq.Expressions.Expression<Func<TComplexProperty,TNestedComplexProperty>> property);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1719:ParameterNamesShouldNotMatchMemberNames", Justification="Rule predates more fluent naming conventions.", MessageId="0#")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.Infrastructure.DbComplexPropertyEntry<TEntity,TNestedComplexProperty> ComplexProperty<TNestedComplexProperty> (System.Linq.Expressions.Expression<Func<TComplexProperty,TNestedComplexProperty>> property);
member this.ComplexProperty : System.Linq.Expressions.Expression<Func<'ComplexProperty, 'NestedComplexProperty>> -> System.Data.Entity.Infrastructure.DbComplexPropertyEntry<'Entity, 'NestedComplexProperty (requires 'Entity : null)>
Public Function ComplexProperty(Of TNestedComplexProperty) (property As Expression(Of Func(Of TComplexProperty, TNestedComplexProperty))) As DbComplexPropertyEntry(Of TEntity, TNestedComplexProperty)

類型參數

TNestedComplexProperty

巢狀屬性的型別。

參數

property
Expression<Func<TComplexProperty,TNestedComplexProperty>>

表示巢狀屬性的運算式。

傳回

DbComplexPropertyEntry<TEntity,TNestedComplexProperty>

表示巢狀屬性的物件。

屬性

適用於

ComplexProperty<TNestedComplexProperty>(String)

取得代表這個屬性之巢狀複雜屬性的物件。

public System.Data.Entity.Infrastructure.DbComplexPropertyEntry<TEntity,TNestedComplexProperty> ComplexProperty<TNestedComplexProperty> (string propertyName);
member this.ComplexProperty : string -> System.Data.Entity.Infrastructure.DbComplexPropertyEntry<'Entity, 'NestedComplexProperty (requires 'Entity : null)>
Public Function ComplexProperty(Of TNestedComplexProperty) (propertyName As String) As DbComplexPropertyEntry(Of TEntity, TNestedComplexProperty)

類型參數

TNestedComplexProperty

巢狀屬性的型別。

參數

propertyName
String

巢狀屬性的名稱。

傳回

DbComplexPropertyEntry<TEntity,TNestedComplexProperty>

表示巢狀屬性的物件。

適用於