ConstructorBindingConvention 클래스

정의

엔터티 형식 생성자 매개 변수를 이름에 따라 기존 속성 및 서비스 속성에 바인딩하는 규칙입니다.

  • [매개 변수 이름]
  • [pascal-cased 매개 변수 이름]
  • _[매개 변수 이름]
  • _[pascal-cased 매개 변수 이름]
  • m_[매개 변수 이름]
  • m_[pascal-cased 매개 변수 이름]
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
상속
ConstructorBindingConvention
구현

설명

자세한 내용 및 예제는 모델 빌드 규칙을 참조하세요.

생성자

ConstructorBindingConvention(ProviderConventionSetBuilderDependencies)

ConstructorBindingConvention의 새 인스턴스를 만듭니다.

속성

Dependencies

이 서비스에 대한 종속성입니다.

메서드

ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

모델이 완료된 후 호출됩니다.

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

모델이 종료될 때 호출됩니다.

적용 대상