IModel.FindEntityTypes(Type) 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 the entity types matching the given type.
[System.Diagnostics.DebuggerStepThrough]
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IEntityType> FindEntityTypes (Type type);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member FindEntityTypes : Type -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityType>
Public Function FindEntityTypes (type As Type) As IEnumerable(Of IEntityType)
Parameters
- type
- Type
The type of the entity type to find.
Returns
The entity types found.
- Attributes
Remarks
See Modeling entity types and relationships for more information and examples.
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