IConventionStoredProcedureBuilder Interface

Definition

Provides a simple API for configuring a IConventionStoredProcedure.

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

Remarks

See Model building conventions for more information and examples.

Properties

Metadata

The function being configured.

ModelBuilder

Gets the model builder.

(Inherited from IConventionAnnotatableBuilder)

Methods

CanHaveOriginalValueParameter(String, Boolean)

Returns a value indicating whether a parameter holds the original value of the mapped property can be used for stored procedure.

CanHaveParameter(String, Boolean)

Returns a value indicating whether a parameter mapped to the given property can be used for stored procedure.

CanHaveResultColumn(String, Boolean)

Returns a value indicating whether a column of the result mapped to the given property can be used for stored procedure.

CanHaveRowsAffectedParameter(Boolean)

Returns a value indicating whether a parameter that returns the rows affected can be used for stored procedure.

CanHaveRowsAffectedResultColumn(Boolean)

Returns a value indicating whether a column that contains the rows affected can be used for stored procedure.

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)
CanSetName(String, Boolean)

Returns a value indicating whether the given name can be set for the stored procedure.

CanSetSchema(String, Boolean)

Returns a value indicating whether the given schema can be set for the stored procedure.

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.

HasName(String, Boolean)

Sets the name of the stored procedure.

HasName(String, String, Boolean)

Sets the name and schema of the stored procedure.

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.

HasOriginalValueParameter(String, Boolean)

Configures a new parameter that holds the original value of the property with the given name if no parameter mapped to the given property exists.

HasParameter(String, Boolean)

Configures a new parameter if no parameter mapped to the given property exists.

HasResultColumn(String, Boolean)

Configures a new column of the result for this stored procedure. This is used for database generated columns.

HasRowsAffectedParameter(Boolean)

Configures a new parameter that returns the rows affected if no such parameter exists.

HasRowsAffectedResultColumn(Boolean)

Configures a new column that contains the rows affected for this stored procedure if no such column exists.

HasSchema(String, Boolean)

Sets the schema of the stored procedure.

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