Share via


IStoredProcedure Interface

Definition

Represents a stored procedure in a model.

public interface IStoredProcedure : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyStoredProcedure
type IStoredProcedure = interface
    interface IReadOnlyStoredProcedure
    interface IReadOnlyAnnotatable
    interface IAnnotatable
Public Interface IStoredProcedure
Implements IAnnotatable, IReadOnlyStoredProcedure
Derived
Implements

Properties

EntityType

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

IsRowsAffectedReturned

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

(Inherited from IReadOnlyStoredProcedure)
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 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 the schema of the stored procedure in the database.

(Inherited from IReadOnlyStoredProcedure)
StoreStoredProcedure

Gets the associated database stored procedure.

Methods

AddRuntimeAnnotation(String, Object)

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

(Inherited from IAnnotatable)
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 IReadOnlyAnnotatable)
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.

FindRuntimeAnnotation(String)

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

(Inherited from IAnnotatable)
FindRuntimeAnnotationValue(String)

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

(Inherited from IAnnotatable)
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 IReadOnlyAnnotatable)
GetOrAddRuntimeAnnotationValue<TValue,TArg>(String, Func<TArg,TValue>, TArg)

Gets the value of the runtime annotation with the given name, adding it if one does not exist.

(Inherited from IAnnotatable)
GetRuntimeAnnotations()

Gets all the runtime annotations on the current object.

(Inherited from IAnnotatable)
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.

RemoveRuntimeAnnotation(String)

Removes the given runtime annotation from this object.

(Inherited from IAnnotatable)
SetRuntimeAnnotation(String, Object)

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

(Inherited from IAnnotatable)
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