StoredProcedureParameterBuilder Class

Definition

Provides a simple API for configuring a IStoredProcedure parameter.

public class StoredProcedureParameterBuilder : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder>
type StoredProcedureParameterBuilder = class
    interface IInfrastructure<PropertyBuilder>
Public Class StoredProcedureParameterBuilder
Implements IInfrastructure(Of PropertyBuilder)
Inheritance
StoredProcedureParameterBuilder
Implements

Remarks

Instances of this class are returned from methods when using the ModelBuilder API and it is not designed to be directly constructed in your application code.

Constructors

StoredProcedureParameterBuilder(InternalStoredProcedureParameterBuilder, PropertyBuilder)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

Properties

Builder

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

Metadata

The stored procedure parameter being configured.

Methods

HasAnnotation(String, Object)

Adds or updates an annotation on the property for a specific stored procedure. If an annotation with the key specified in annotation already exists, its value will be updated.

HasName(String)

Sets the name of the stored procedure parameter.

IsInputOutput()

Configures the stored procedure parameter as both an input and output parameter.

IsOutput()

Configures the stored procedure parameter as an output parameter.

Explicit Interface Implementations

IInfrastructure<PropertyBuilder>.Instance

Extension Methods

GetInfrastructure<T>(IInfrastructure<T>)

Gets the value from a property that is being hidden using IInfrastructure<T>.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

Applies to