ComplexPropertyEntry<TEntity,TComplexProperty>.ComplexProperty 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| ComplexProperty<TNestedComplexProperty>(IComplexProperty) |
提供針對該複雜型態的巢狀複雜型態屬性的變更追蹤資訊與操作存取。 |
| ComplexProperty<TNestedComplexProperty>(Expression<Func<TComplexProperty,Nullable<TNestedComplexProperty>>>) |
提供針對該複雜型態的巢狀複雜型態屬性的變更追蹤資訊與操作存取。 |
| ComplexProperty<TNestedComplexProperty>(Expression<Func<TComplexProperty,TNestedComplexProperty>>) |
提供針對該複雜型態的巢狀複雜型態屬性的變更追蹤資訊與操作存取。 |
| ComplexProperty<TNestedComplexProperty>(String) |
提供針對該複雜型態的巢狀複雜型態屬性的變更追蹤資訊與操作存取。 |
ComplexProperty<TNestedComplexProperty>(IComplexProperty)
提供針對該複雜型態的巢狀複雜型態屬性的變更追蹤資訊與操作存取。
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>>>)
提供針對該複雜型態的巢狀複雜型態屬性的變更追蹤資訊與操作存取。
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>>)
提供針對該複雜型態的巢狀複雜型態屬性的變更追蹤資訊與操作存取。
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)
提供針對該複雜型態的巢狀複雜型態屬性的變更追蹤資訊與操作存取。
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 中的「存取追蹤實體 」。