NonNullableNavigationConvention Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Eine Konvention, die die nicht nullfähigen Navigationen nach Bedarf auf den Prinzipalentitätstyp konfiguriert.
public class NonNullableNavigationConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NonNullableConventionBase, Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyPrincipalEndChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention
public class NonNullableNavigationConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NonNullableConventionBase, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention
type NonNullableNavigationConvention = class
inherit NonNullableConventionBase
interface INavigationAddedConvention
interface IConvention
interface IForeignKeyPrincipalEndChangedConvention
type NonNullableNavigationConvention = class
inherit NonNullableConventionBase
interface INavigationAddedConvention
interface IConvention
Public Class NonNullableNavigationConvention
Inherits NonNullableConventionBase
Implements IForeignKeyPrincipalEndChangedConvention, INavigationAddedConvention
Public Class NonNullableNavigationConvention
Inherits NonNullableConventionBase
Implements INavigationAddedConvention
- Vererbung
- Implementiert
Hinweise
Weitere Informationen und Beispiele finden Sie unter Modellbaukonventionen .
Konstruktoren
| Name | Beschreibung |
|---|---|
| NonNullableNavigationConvention(ProviderConventionSetBuilderDependencies) |
Eine Konvention, die die nicht nullfähigen Navigationen nach Bedarf auf den Prinzipalentitätstyp konfiguriert. |
Eigenschaften
| Name | Beschreibung |
|---|---|
| Dependencies |
Abhängigkeiten für diesen Dienst. (Geerbt von NonNullableConventionBase) |