EntityEntry.ComplexCollection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ComplexCollection(IComplexProperty) |
Provides access to change tracking information and operations for a given collection property of a complex type on this entity. |
| ComplexCollection(String) |
Provides access to change tracking information and operations for a given collection property of a complex type on this entity. |
ComplexCollection(IComplexProperty)
- Source:
- EntityEntry.cs
Provides access to change tracking information and operations for a given collection property of a complex type on this entity.
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ComplexCollectionEntry ComplexCollection(Microsoft.EntityFrameworkCore.Metadata.IComplexProperty property);
abstract member ComplexCollection : Microsoft.EntityFrameworkCore.Metadata.IComplexProperty -> Microsoft.EntityFrameworkCore.ChangeTracking.ComplexCollectionEntry
override this.ComplexCollection : Microsoft.EntityFrameworkCore.Metadata.IComplexProperty -> Microsoft.EntityFrameworkCore.ChangeTracking.ComplexCollectionEntry
Public Overridable Function ComplexCollection (property As IComplexProperty) As ComplexCollectionEntry
Parameters
- property
- IComplexProperty
The property to access information and operations for.
Returns
An object that exposes change tracking information and operations for the given property.
Remarks
See Accessing tracked entities in EF Core for more information and examples.
Applies to
ComplexCollection(String)
- Source:
- EntityEntry.cs
Provides access to change tracking information and operations for a given collection property of a complex type on this entity.
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.ComplexCollectionEntry ComplexCollection(string propertyName);
abstract member ComplexCollection : string -> Microsoft.EntityFrameworkCore.ChangeTracking.ComplexCollectionEntry
override this.ComplexCollection : string -> Microsoft.EntityFrameworkCore.ChangeTracking.ComplexCollectionEntry
Public Overridable Function ComplexCollection (propertyName As String) As ComplexCollectionEntry
Parameters
- propertyName
- String
The property to access information and operations for.
Returns
An object that exposes change tracking information and operations for the given property.
Remarks
See Accessing tracked entities in EF Core for more information and examples.