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