IConventionStoredProcedureBuilder.HasNoAnnotation(String, Boolean) Method

Definition

Removes the annotation with the given name from this object.

C#
public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionStoredProcedureBuilder? HasNoAnnotation (string name, bool fromDataAnnotation = false);

Parameters

name
String

The name of the annotation to remove.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

An IConventionStoredProcedureBuilder to continue configuration if the annotation was set, null otherwise.

Applies to

Продукт Версии
Entity Framework Core 8.0, 9.0