EntityTypeExtensions.GetDerivedTypes(IEntityType) 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.
Gets all types in the model that derive from a given entity type.
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.EntityTypeExtensions+<GetDerivedTypes>d__0))]
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IEntityType> GetDerivedTypes (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IEntityType> GetDerivedTypes (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.EntityTypeExtensions+<GetDerivedTypes>d__0))>]
static member GetDerivedTypes : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityType>
static member GetDerivedTypes : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityType>
<Extension()>
Public Iterator Function GetDerivedTypes (entityType As IEntityType) As IEnumerable(Of IEntityType)
<Extension()>
Public Function GetDerivedTypes (entityType As IEntityType) As IEnumerable(Of IEntityType)
Parameters
- entityType
- IEntityType
The entity type.
Returns
The derived types.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework