Aracılığıyla paylaş


OwnedNavigationSplitTableBuilder<TOwnerEntity,TDependentEntity>.HasAnnotation Yöntem

Tanım

Tabloya ek açıklama ekler veya güncelleştirir. içinde annotation belirtilen anahtara sahip bir ek açıklama zaten varsa, değeri güncelleştirilir.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationSplitTableBuilder<TOwnerEntity,TDependentEntity> HasAnnotation (string annotation, object? value);
override this.HasAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationSplitTableBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasAnnotation (annotation As String, value As Object) As OwnedNavigationSplitTableBuilder(Of TOwnerEntity, TDependentEntity)

Parametreler

annotation
String

Eklenecek veya güncelleştirilecek ek açıklamanın anahtarı.

value
Object

Ek açıklamaya depolanacak değer.

Döndürülenler

Birden çok yapılandırma çağrısının zincirlenebilmesi için aynı oluşturucu örneği.

Şunlara uygulanır