DbEntityEntry<TEntity>.ComplexProperty 方法

定义

重载

ComplexProperty(String)

获取一个对象,此对象表示该实体的复杂属性。

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

获取一个对象,此对象表示该实体的复杂属性。

ComplexProperty<TComplexProperty>(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<TComplexProperty>(Expression<Func<TEntity,TComplexProperty>>)

获取一个对象,此对象表示该实体的复杂属性。

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

类型参数

TComplexProperty

复杂属性的类型。

参数

property
Expression<Func<TEntity,TComplexProperty>>

表示复杂属性的表达式。

返回

表示复杂属性的对象。

属性

适用于

ComplexProperty<TComplexProperty>(String)

获取一个对象,此对象表示该实体的复杂属性。

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

类型参数

TComplexProperty

复杂属性的类型。

参数

propertyName
String

复杂属性的名称。

返回

表示复杂属性的对象。

适用于