IConventionDbFunctionParameterBuilder Interface

Definition

Provides a simple API for configuring a IConventionDbFunctionParameter.

public interface IConventionDbFunctionParameterBuilder : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder
type IConventionDbFunctionParameterBuilder = interface
    interface IConventionAnnotatableBuilder
Public Interface IConventionDbFunctionParameterBuilder
Implements IConventionAnnotatableBuilder
Implements

Remarks

See Model building conventions for more information and examples.

Properties

Metadata

The function parameter metadata that is being built.

ModelBuilder

Gets the model builder.

(Inherited from IConventionAnnotatableBuilder)

Methods

CanRemoveAnnotation(String, Boolean)

Returns a value indicating whether an annotation with the given name can be removed using this configuration source.

(Inherited from IConventionAnnotatableBuilder)
CanSetAnnotation(String, Object, Boolean)

Returns a value indicating whether an annotation with the given name and value can be set from this configuration source.

(Inherited from IConventionAnnotatableBuilder)
CanSetStoreType(String, Boolean)

Returns a value indicating whether the store type can be set for this property from the current configuration source.

CanSetTypeMapping(RelationalTypeMapping, Boolean)

Returns a value indicating whether RelationalTypeMapping can be set for this property from the current configuration source.

HasAnnotation(String, Object, Boolean)

Sets the annotation stored under the given name. Overwrites the existing annotation if an annotation with the specified name already exists with same or lower ConfigurationSource.

HasNoAnnotation(String, Boolean)

Removes the annotation with the given name from this object.

HasNonNullAnnotation(String, Object, Boolean)

Sets the annotation stored under the given name. Overwrites the existing annotation if an annotation with the specified name already exists with same or lower ConfigurationSource. Removes the annotation if null value is specified.

HasStoreType(String, Boolean)

Sets the store type of the function parameter in the database.

HasTypeMapping(RelationalTypeMapping, Boolean)

Sets the RelationalTypeMapping of the function parameter.

RemoveAnnotation(String, Boolean)
Obsolete.

Removes the annotation with the given name from this object.

(Inherited from IConventionAnnotatableBuilder)
SetOrRemoveAnnotation(String, Object, Boolean)
Obsolete.

Sets or removes the annotation stored under the given name.

(Inherited from IConventionAnnotatableBuilder)

Applies to