ComplexPropertyEntry<TEntity,TComplexProperty>.ComplexProperty 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ComplexProperty<TNestedComplexProperty>(IComplexProperty) |
提供对此复杂类型的给定复杂类型属性的更改跟踪信息和操作的访问。 |
ComplexProperty<TNestedComplexProperty>(Expression<Func<TComplexProperty,TNestedComplexProperty>>) |
提供对此复杂类型的给定复杂类型属性的更改跟踪信息和操作的访问。 |
ComplexProperty<TNestedComplexProperty>(String) |
提供对此复杂类型的给定复杂类型属性的更改跟踪信息和操作的访问。 |
ComplexProperty<TNestedComplexProperty>(IComplexProperty)
- Source:
- ComplexPropertyEntry%60.cs
- Source:
- ComplexPropertyEntry%60.cs
提供对此复杂类型的给定复杂类型属性的更改跟踪信息和操作的访问。
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<TEntity,TNestedComplexProperty> ComplexProperty<TNestedComplexProperty> (Microsoft.EntityFrameworkCore.Metadata.IComplexProperty complexProperty);
override this.ComplexProperty : Microsoft.EntityFrameworkCore.Metadata.IComplexProperty -> Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<'Entity, 'NestedComplexProperty (requires 'Entity : null)>
Public Overridable Function ComplexProperty(Of TNestedComplexProperty) (complexProperty As IComplexProperty) As ComplexPropertyEntry(Of TEntity, TNestedComplexProperty)
类型参数
- TNestedComplexProperty
属性的类型。
参数
- complexProperty
- IComplexProperty
要访问其信息和操作的属性。
返回
ComplexPropertyEntry<TEntity,TNestedComplexProperty>
一个 对象,该对象公开给定属性的更改跟踪信息和操作。
注解
有关详细信息和示例,请参阅 在 EF Core 中访问跟踪的实体 。
适用于
ComplexProperty<TNestedComplexProperty>(Expression<Func<TComplexProperty,TNestedComplexProperty>>)
- Source:
- ComplexPropertyEntry%60.cs
- Source:
- ComplexPropertyEntry%60.cs
提供对此复杂类型的给定复杂类型属性的更改跟踪信息和操作的访问。
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<TEntity,TNestedComplexProperty> ComplexProperty<TNestedComplexProperty> (System.Linq.Expressions.Expression<Func<TComplexProperty,TNestedComplexProperty>> propertyExpression);
override this.ComplexProperty : System.Linq.Expressions.Expression<Func<'ComplexProperty, 'NestedComplexProperty>> -> Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<'Entity, 'NestedComplexProperty (requires 'Entity : null)>
Public Overridable Function ComplexProperty(Of TNestedComplexProperty) (propertyExpression As Expression(Of Func(Of TComplexProperty, TNestedComplexProperty))) As ComplexPropertyEntry(Of TEntity, TNestedComplexProperty)
类型参数
- TNestedComplexProperty
参数
- propertyExpression
- Expression<Func<TComplexProperty,TNestedComplexProperty>>
一个 lambda 表达式,表示要访问其信息和操作的属性。
返回
ComplexPropertyEntry<TEntity,TNestedComplexProperty>
一个 对象,该对象公开给定属性的更改跟踪信息和操作。
注解
有关详细信息和示例,请参阅 在 EF Core 中访问跟踪的实体 。
适用于
ComplexProperty<TNestedComplexProperty>(String)
- Source:
- ComplexPropertyEntry%60.cs
- Source:
- ComplexPropertyEntry%60.cs
提供对此复杂类型的给定复杂类型属性的更改跟踪信息和操作的访问。
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<TEntity,TNestedComplexProperty> ComplexProperty<TNestedComplexProperty> (string propertyName);
override this.ComplexProperty : string -> Microsoft.EntityFrameworkCore.ChangeTracking.ComplexPropertyEntry<'Entity, 'NestedComplexProperty (requires 'Entity : null)>
Public Overridable Function ComplexProperty(Of TNestedComplexProperty) (propertyName As String) As ComplexPropertyEntry(Of TEntity, TNestedComplexProperty)
类型参数
- TNestedComplexProperty
属性的类型。
参数
- propertyName
- String
要访问其信息和操作的属性。
返回
ComplexPropertyEntry<TEntity,TNestedComplexProperty>
一个 对象,该对象公开给定属性的更改跟踪信息和操作。
注解
有关详细信息和示例,请参阅 在 EF Core 中访问跟踪的实体 。