DbComplexPropertyEntry<TEntity,TComplexProperty>.ComplexProperty 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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>
表示嵌套属性的对象。