다음을 통해 공유


IConventionServiceProperty.SetParameterBinding 메서드

정의

이 속성의 를 ServiceParameterBinding 설정합니다.

public void SetParameterBinding (Microsoft.EntityFrameworkCore.Metadata.ServiceParameterBinding parameterBinding, bool fromDataAnnotation = false);
public Microsoft.EntityFrameworkCore.Metadata.ServiceParameterBinding SetParameterBinding (Microsoft.EntityFrameworkCore.Metadata.ServiceParameterBinding parameterBinding, bool fromDataAnnotation = false);
public Microsoft.EntityFrameworkCore.Metadata.ServiceParameterBinding? SetParameterBinding (Microsoft.EntityFrameworkCore.Metadata.ServiceParameterBinding? parameterBinding, bool fromDataAnnotation = false);
abstract member SetParameterBinding : Microsoft.EntityFrameworkCore.Metadata.ServiceParameterBinding * bool -> unit
abstract member SetParameterBinding : Microsoft.EntityFrameworkCore.Metadata.ServiceParameterBinding * bool -> Microsoft.EntityFrameworkCore.Metadata.ServiceParameterBinding
Public Sub SetParameterBinding (parameterBinding As ServiceParameterBinding, Optional fromDataAnnotation As Boolean = false)
Public Function SetParameterBinding (parameterBinding As ServiceParameterBinding, Optional fromDataAnnotation As Boolean = false) As ServiceParameterBinding

매개 변수

parameterBinding
ServiceParameterBinding

매개 변수 바인딩입니다.

fromDataAnnotation
Boolean

데이터 주석을 사용하여 구성을 지정했는지 여부를 나타냅니다.

반환

구성된 바인딩입니다.

적용 대상