Delen via


IMutableStoredProcedure Interface

Definition

Represents a stored procedure in a model in the form that can be mutated while the model is being built.

public interface IMutableStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyStoredProcedure
type IMutableStoredProcedure = interface
    interface IReadOnlyStoredProcedure
    interface IReadOnlyAnnotatable
    interface IMutableAnnotatable
Public Interface IMutableStoredProcedure
Implements IMutableAnnotatable, IReadOnlyStoredProcedure
Implements

Properties

EntityType

Gets the entity type in which this stored procedure is defined.

IsRowsAffectedReturned

Gets or sets a value indicating whether this stored procedure returns the number of rows affected.

Item[String]

Gets or sets the value of the annotation with the given name.

(Inherited from IMutableAnnotatable)
Name

Gets or sets the name of the stored procedure in the database.

Parameters

Gets the parameters for this stored procedure.

ResultColumns

Gets the columns of the result for this stored procedure.

Schema

Gets or sets the schema of the stored procedure in the database.

Methods

AddAnnotation(String, Object)

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

(Inherited from IMutableAnnotatable)
AddAnnotations(IEnumerable<IAnnotation>)

Adds annotations to an object.

(Inherited from IMutableAnnotatable)
AddOriginalValueParameter(String)

Adds a new parameter that holds the original value of the property with the given name.

AddParameter(String)

Adds a new parameter mapped to the property with the given name.

AddResultColumn(String)

Adds a new column of the result for this stored procedure mapped to the property with the given name

AddRowsAffectedParameter()

Adds an output parameter that returns the rows affected by this stored procedure.

AddRowsAffectedResultColumn()

Adds a new column of the result that contains the rows affected by this stored procedure.

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 IMutableAnnotatable)
FindOriginalValueParameter(String)

Returns the original value parameter corresponding to the given property.

FindParameter(String)

Returns the parameter corresponding to the given property.

FindResultColumn(String)

Returns the result column corresponding to the given property.

FindRowsAffectedParameter()

Returns the rows affected parameter.

FindRowsAffectedResultColumn()

Returns the rows affected result column.

GetAnnotation(String)

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

(Inherited from IReadOnlyAnnotatable)
GetAnnotations()

Gets all annotations on the current object.

(Inherited from IMutableAnnotatable)
GetSchemaQualifiedName()

Returns the name of the stored procedure prepended by the schema or null if not mapped.

(Inherited from IReadOnlyStoredProcedure)
GetStoreIdentifier()

Returns the store identifier of this stored procedure.

(Inherited from IReadOnlyStoredProcedure)
RemoveAnnotation(String)

Removes the given annotation from this object.

(Inherited from IMutableAnnotatable)
SetAnnotation(String, Object)

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

(Inherited from IMutableAnnotatable)
SetOrRemoveAnnotation(String, Object)

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 IMutableAnnotatable)
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 IReadOnlyStoredProcedure)

Applies to