Share via


IConventionDbFunctionParameterBuilder.HasNoAnnotation(String, Boolean) Method

Definition

Removes the annotation with the given name from this object.

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionParameterBuilder? HasNoAnnotation (string name, bool fromDataAnnotation = false);
abstract member HasNoAnnotation : string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionParameterBuilder
Public Function HasNoAnnotation (name As String, Optional fromDataAnnotation As Boolean = false) As IConventionDbFunctionParameterBuilder

Parameters

name
String

The name of the annotation to remove.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

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

Applies to