Aracılığıyla paylaş


IConventionComplexTypeBuilder.HasNoComplexProperty Yöntem

Tanım

Bu karmaşık türden karmaşık bir özelliği kaldırır.

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexTypeBuilder? HasNoComplexProperty (Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty complexProperty, bool fromDataAnnotation = false);
abstract member HasNoComplexProperty : Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexTypeBuilder
Public Function HasNoComplexProperty (complexProperty As IConventionComplexProperty, Optional fromDataAnnotation As Boolean = false) As IConventionComplexTypeBuilder

Parametreler

complexProperty
IConventionComplexProperty

Kaldırılacak karmaşık özellik.

fromDataAnnotation
Boolean

Yapılandırmanın bir veri ek açıklaması kullanılarak belirtilip belirtilmediğinden emin olun.

Döndürülenler

Karmaşık özellik kaldırıldıysa aynı oluşturucu örneği, null aksi takdirde.

Şunlara uygulanır