IReadOnlyModel.FindLeastDerivedEntityTypes 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.
Returns the entity types corresponding to the least derived types from the given.
public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType> FindLeastDerivedEntityTypes (Type type, Func<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType,bool>? condition = default);
abstract member FindLeastDerivedEntityTypes : Type * Func<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType, bool> -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType>
override this.FindLeastDerivedEntityTypes : Type * Func<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType, bool> -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType>
Public Overridable Function FindLeastDerivedEntityTypes (type As Type, Optional condition As Func(Of IReadOnlyEntityType, Boolean) = Nothing) As IEnumerable(Of IReadOnlyEntityType)
Parameters
- type
- Type
The base type.
- condition
- Func<IReadOnlyEntityType,Boolean>
An optional condition for filtering entity types.
Returns
List of entity types corresponding to the least derived types from the given.
Remarks
See Modeling entity types and relationships for more information and examples.
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: