Share via


RelationalValueGenerationConvention.MappingStrategyAllowsValueGeneration 메서드

정의

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

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

매개 변수

property
IConventionProperty

값 생성이 고려되는 속성입니다.

mappingStrategy
String

현재 매핑 전략입니다.

반환

true 값 생성이 허용되면 이고, false 그렇지 않으면.

적용 대상