Share via


ConstructorBindingConvention Klasse

Definition

Eine Konvention, die Entitätstypkonstruktorparameter basierend auf ihren Namen an vorhandene Eigenschaften und Diensteigenschaften bindet:

  • [Parametername]
  • [Pascal-Cased-Parametername]
  • _[Parametername]
  • _[Pascal-Cased-Parametername]
  • m_[Parametername]
  • m_[Pascal-Cased-Parametername]
public class ConstructorBindingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
public class ConstructorBindingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type ConstructorBindingConvention = class
    interface IModelFinalizedConvention
    interface IConvention
type ConstructorBindingConvention = class
    interface IModelFinalizingConvention
    interface IConvention
Public Class ConstructorBindingConvention
Implements IModelFinalizedConvention
Public Class ConstructorBindingConvention
Implements IModelFinalizingConvention
Vererbung
ConstructorBindingConvention
Implementiert

Hinweise

Weitere Informationen und Beispiele finden Sie unter Modellerstellungskonventionen .

Konstruktoren

ConstructorBindingConvention(ProviderConventionSetBuilderDependencies)

Erstellt eine neue Instanz von ConstructorBindingConvention.

Eigenschaften

Dependencies

Abhängigkeiten für diesen Dienst.

Methoden

ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Wird aufgerufen, nachdem ein Modell abgeschlossen wurde.

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Wird aufgerufen, wenn ein Modell abgeschlossen wird.

Gilt für: