RuntimeModel.FindEntityType(String) 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 type with the given name. Returns null
if no entity type with the given name is found
or the given CLR type is being used by shared type entity type
or the entity type has a defining navigation.
public virtual Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType? FindEntityType (string name);
abstract member FindEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType
override this.FindEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType
Public Overridable Function FindEntityType (name As String) As RuntimeEntityType
Parameters
- name
- String
The name of the entity type to find.
Returns
The entity type, or null
if none is found.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor