IMutableEntityType.FindNavigation 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
FindNavigation(String) |
Gets a navigation property on the given entity type. Returns |
FindNavigation(MemberInfo) |
Gets a navigation property on the given entity type. Returns |
FindNavigation(String)
Gets a navigation property on the given entity type. Returns null
if no navigation property is found.
public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation? FindNavigation (string name);
abstract member FindNavigation : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
override this.FindNavigation : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
Public Overridable Function FindNavigation (name As String) As IMutableNavigation
Parameters
- name
- String
The name of the navigation property on the entity class.
Returns
The navigation property, or null
if none is found.
Applies to
FindNavigation(MemberInfo)
Gets a navigation property on the given entity type. Returns null
if no navigation property is found.
public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation? FindNavigation (System.Reflection.MemberInfo memberInfo);
abstract member FindNavigation : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
override this.FindNavigation : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
Public Overridable Function FindNavigation (memberInfo As MemberInfo) As IMutableNavigation
Parameters
- memberInfo
- MemberInfo
The navigation property on the entity class.
Returns
The navigation property, or null
if none is found.
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: