언어

SqlServerValueGenerationConvention.MappingStrategyAllowsValueGeneration 메서드

정의

매핑 전략 및 속성이 규칙에 따라 값 생성을 허용하는지 여부를 확인합니다.

protected override bool MappingStrategyAllowsValueGeneration(Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string? mappingStrategy);
override this.MappingStrategyAllowsValueGeneration : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string -> bool
Protected Overrides Function MappingStrategyAllowsValueGeneration (property As IConventionProperty, mappingStrategy As String) As Boolean

매개 변수

property
IConventionProperty

값 생성을 고려 중인 속성입니다.

mappingStrategy
String

현재 매핑 전략입니다.

반품

true 값 생성이 허용되는 경우 false 그렇지 않은 경우

적용 대상