Share via


IConventionStoredProcedureParameter Interface

Definition

Represents a stored procedure parameter.

public interface IConventionStoredProcedureParameter : Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyStoredProcedureParameter
type IConventionStoredProcedureParameter = interface
    interface IReadOnlyStoredProcedureParameter
    interface IReadOnlyAnnotatable
    interface IConventionAnnotatable
Public Interface IConventionStoredProcedureParameter
Implements IConventionAnnotatable, IReadOnlyStoredProcedureParameter
Implements

Properties

Builder

Gets the builder that can be used to configure this stored procedure parameter.

Direction

Gets the direction of the parameter.

(Inherited from IReadOnlyStoredProcedureParameter)
ForOriginalValue

Gets a value indicating whether the parameter holds the original or the current property value.

(Inherited from IReadOnlyStoredProcedureParameter)
ForRowsAffected

Gets a value indicating whether the parameter holds the rows affected by the stored procedure.

(Inherited from IReadOnlyStoredProcedureParameter)
IsInModel

Indicates whether this object is in a model, i.e. hasn't been removed from one.

(Inherited from IConventionAnnotatable)
Item[String]

Gets the value of the annotation with the given name, returning null if it does not exist.

(Inherited from IReadOnlyAnnotatable)
Name

Gets the parameter name.

(Inherited from IReadOnlyStoredProcedureParameter)
PropertyName

Gets the name of property mapped to this parameter.

(Inherited from IReadOnlyStoredProcedureParameter)
StoredProcedure

Gets the stored procedure to which this parameter belongs.

Methods

AddAnnotation(String, Object, Boolean)

Adds an annotation to this object. Throws if an annotation with the specified name already exists.

(Inherited from IConventionAnnotatable)
AddAnnotations(IEnumerable<IConventionAnnotation>, Boolean)

Adds annotations to an object.

(Inherited from IConventionAnnotatable)
AnnotationsToDebugString(Int32)

Gets the debug string for all annotations declared on the object.

(Inherited from IReadOnlyAnnotatable)
FindAnnotation(String)

Gets the annotation with the given name, returning null if it does not exist.

(Inherited from IConventionAnnotatable)
GetAnnotation(String)

Gets the annotation with the given name, throwing if it does not exist.

(Inherited from IConventionAnnotatable)
GetAnnotations()

Gets all annotations on the current object.

(Inherited from IConventionAnnotatable)
GetDirectionConfigurationSource()

Returns the configuration source for Direction.

GetNameConfigurationSource()

Returns the configuration source for Name.

RemoveAnnotation(String)

Removes the annotation with the given name from this object.

(Inherited from IConventionAnnotatable)
SetAnnotation(String, Object, Boolean)

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

(Inherited from IConventionAnnotatable)
SetDirection(ParameterDirection, Boolean)

Sets the direction of the parameter.

SetName(String, Boolean)

Sets the parameter name.

SetOrRemoveAnnotation(String, Object, Boolean)

Sets the annotation stored under the given name. Overwrites the existing annotation if an annotation with the specified name already exists. Removes the existing annotation if null is supplied.

(Inherited from IConventionAnnotatable)
ToDebugString(MetadataDebugStringOptions, Int32)

Creates a human-readable representation of the given metadata.

Warning: Do not rely on the format of the returned string. It is designed for debugging only and may change arbitrarily between releases.

(Inherited from IReadOnlyStoredProcedureParameter)

Applies to