Language

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 。

適用対象