Dil

SqlServerValueGenerationConvention.MappingStrategyAllowsValueGeneration Yöntem

Tanım

Eşleme stratejisinin ve özelliğinin kurala göre değer üretmeye izin verip vermediğini denetler.

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

Parametreler

property
IConventionProperty

Değer oluşturmanın dikkate alındığı özellik.

mappingStrategy
String

Geçerli eşleme stratejisi.

Döndürülenler

true değer oluşturma işlemine izin veriliyorsa; false aksi takdirde.

Şunlara uygulanır