RuntimeStoredProcedure Class

Definition

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.

public class RuntimeStoredProcedure : Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBase, Microsoft.EntityFrameworkCore.Metadata.Internal.IRuntimeStoredProcedure
type RuntimeStoredProcedure = class
    inherit AnnotatableBase
    interface IRuntimeStoredProcedure
    interface IStoredProcedure
    interface IReadOnlyStoredProcedure
    interface IReadOnlyAnnotatable
    interface IAnnotatable
Public Class RuntimeStoredProcedure
Inherits AnnotatableBase
Implements IRuntimeStoredProcedure
Inheritance
RuntimeStoredProcedure
Implements
IAnnotatable IReadOnlyAnnotatable Microsoft.EntityFrameworkCore.Metadata.Internal.IRuntimeStoredProcedure IReadOnlyStoredProcedure IStoredProcedure

Constructors

RuntimeStoredProcedure(RuntimeEntityType, String, String, Boolean)

Initializes a new instance of the RuntimeStoredProcedure class.

Properties

DebugView

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.

EntityType

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

IsReadOnly

Indicates whether the current object is read-only.

(Inherited from AnnotatableBase)
Item[String]

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

(Inherited from AnnotatableBase)

Methods

AddAnnotation(String, Annotation)

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

(Inherited from AnnotatableBase)
AddAnnotation(String, Object)

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

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

Adds annotations to this object.

(Inherited from AnnotatableBase)
AddAnnotations(IReadOnlyDictionary<String,Object>)

Adds annotations to this object.

(Inherited from AnnotatableBase)
AddParameter(String, ParameterDirection, Boolean, String, Nullable<Boolean>)

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

AddResultColumn(String, Boolean, String)

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

AddRuntimeAnnotation(String, Annotation)

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

(Inherited from AnnotatableBase)
AddRuntimeAnnotation(String, Object)

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

(Inherited from AnnotatableBase)
AddRuntimeAnnotations(IEnumerable<Annotation>)

Adds runtime annotations to this object.

(Inherited from AnnotatableBase)
AddRuntimeAnnotations(IReadOnlyDictionary<String,Object>)

Adds runtime annotations to this object.

(Inherited from AnnotatableBase)
CreateAnnotation(String, Object)

Creates a new annotation.

(Inherited from AnnotatableBase)
CreateRuntimeAnnotation(String, Object)

Creates a new runtime annotation.

(Inherited from AnnotatableBase)
EnsureMutable()

Throws if the model is read-only.

(Inherited from AnnotatableBase)
EnsureReadOnly()

Throws if the model is not read-only.

(Inherited from AnnotatableBase)
FindAnnotation(String)

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

(Inherited from AnnotatableBase)
FindRuntimeAnnotation(String)

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

(Inherited from AnnotatableBase)
GetAnnotation(String)

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

(Inherited from AnnotatableBase)
GetAnnotations()

Gets all annotations on the current object.

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

Gets all runtime annotations on the current object.

(Inherited from AnnotatableBase)
OnAnnotationSet(String, Annotation, Annotation)

Called when an annotation was set or removed.

(Inherited from AnnotatableBase)
RemoveAnnotation(String)

Removes the given annotation from this object.

(Inherited from AnnotatableBase)
RemoveRuntimeAnnotation(String)

Removes the given runtime annotation from this object.

(Inherited from AnnotatableBase)
SetAnnotation(String, Annotation, Annotation)

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

(Inherited from AnnotatableBase)
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 AnnotatableBase)
SetRuntimeAnnotation(String, Annotation, Annotation)

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

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

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.

Explicit Interface Implementations

IAnnotatable.AddRuntimeAnnotation(String, Object)

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

(Inherited from AnnotatableBase)
IAnnotatable.FindRuntimeAnnotation(String)

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

(Inherited from AnnotatableBase)
IAnnotatable.GetRuntimeAnnotations()

Gets all the runtime annotations on the current object.

(Inherited from AnnotatableBase)
IAnnotatable.RemoveRuntimeAnnotation(String)

Removes the given runtime annotation from this object.

(Inherited from AnnotatableBase)
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 AnnotatableBase)
IReadOnlyAnnotatable.FindAnnotation(String)

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

(Inherited from AnnotatableBase)
IReadOnlyAnnotatable.GetAnnotations()

Gets all annotations on the current object.

(Inherited from AnnotatableBase)
IReadOnlyAnnotatable.Item[String]

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

(Inherited from AnnotatableBase)
IReadOnlyStoredProcedure.EntityType

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

IReadOnlyStoredProcedure.FindOriginalValueParameter(String)

Returns the original value parameter corresponding to the given property.

IReadOnlyStoredProcedure.FindParameter(String)

Returns the parameter corresponding to the given property.

IReadOnlyStoredProcedure.FindResultColumn(String)

Returns the result column corresponding to the given property.

IReadOnlyStoredProcedure.FindRowsAffectedParameter()

Returns the rows affected parameter.

IReadOnlyStoredProcedure.FindRowsAffectedResultColumn()

Returns the rows affected result column.

IReadOnlyStoredProcedure.IsRowsAffectedReturned

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

IReadOnlyStoredProcedure.Name

Gets the name of the stored procedure in the database.

IReadOnlyStoredProcedure.Parameters

Gets the parameters for this stored procedure.

IReadOnlyStoredProcedure.ResultColumns

Gets the columns of the result for this stored procedure.

IReadOnlyStoredProcedure.Schema

Gets the schema of the stored procedure in the database.

IRuntimeStoredProcedure.StoreStoredProcedure Microsoft.EntityFrameworkCore.Metadata.Internal.IRuntimeStoredProcedure.StoreStoredProcedure
IStoredProcedure.EntityType

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

IStoredProcedure.FindOriginalValueParameter(String)

Returns the original value parameter corresponding to the given property.

IStoredProcedure.FindParameter(String)

Returns the parameter corresponding to the given property.

IStoredProcedure.FindResultColumn(String)

Returns the result column corresponding to the given property.

IStoredProcedure.FindRowsAffectedParameter()

Returns the rows affected parameter.

IStoredProcedure.FindRowsAffectedResultColumn()

Returns the rows affected result column.

IStoredProcedure.Name

Gets the name of the stored procedure in the database.

IStoredProcedure.Parameters

Gets the parameters for this stored procedure.

IStoredProcedure.ResultColumns

Gets the columns of the result for this stored procedure.

IStoredProcedure.StoreStoredProcedure

Gets the associated database stored procedure.

Applies to