ReferenceCollectionBuilder<TPrincipalEntity,TDependentEntity>.IsConstrained 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
관계가 제한되는지 여부를 구성합니다.
false데이터베이스 외래 키 제약 조건이 만들어지지 않고 쿼리에서 외래 키 속성이 null을 허용하지 않는 경우에도 관계를 선택 사항으로 처리합니다(보안 주체는 존재하지 않는 것으로 가정됨). 변경 내용 추적에는 영향을 주지 않습니다.
IsConstrained을(를) 참조하세요.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder<TPrincipalEntity,TDependentEntity> IsConstrained(bool constrained = true);
override this.IsConstrained : bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder<'PrincipalEntity, 'DependentEntity (requires 'PrincipalEntity : null and 'DependentEntity : null)>
Public Overridable Function IsConstrained (Optional constrained As Boolean = true) As ReferenceCollectionBuilder(Of TPrincipalEntity, TDependentEntity)
매개 변수
- constrained
- Boolean
관계가 제한되는지 여부를 나타내는 값입니다.
반품
여러 구성 호출을 연결할 수 있도록 동일한 작성기 인스턴스입니다.