Share via


IConventionStoredProcedureParameterBuilder Interface

Definition

Provides a simple API for configuring a IConventionStoredProcedureParameter.

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

Remarks

See Model building conventions for more information and examples.

Properties

Metadata

The stored procedure 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)
CanSetDirection(ParameterDirection, Boolean)

Returns a value indicating whether the given direction can be configured on the corresponding stored procedure parameter.

CanSetName(String, Boolean)

Returns a value indicating whether the given parameter name can be set.

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.

HasDirection(ParameterDirection, Boolean)

Sets the direction of the stored procedure parameter.

HasName(String, Boolean)

Configures the parameter name.

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.

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