Delen via


OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> Class

Definition

Provides a simple API for configuring a IMutableStoredProcedure that an entity type is mapped to.

public class OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder, Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>> where TOwnerEntity : class where TDependentEntity : class
type OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> = class
    inherit OwnedNavigationStoredProcedureBuilder
    interface IInfrastructure<OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity>>
Public Class OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)
Inherits OwnedNavigationStoredProcedureBuilder
Implements IInfrastructure(Of OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity))

Type Parameters

TOwnerEntity

The entity type owning the relationship.

TDependentEntity

The dependent entity type of the relationship.

Inheritance
OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>
Implements
IInfrastructure<OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>>

Constructors

OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>(IMutableStoredProcedure, OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>)

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.

(Inherited from OwnedNavigationStoredProcedureBuilder)
Metadata

The stored procedure being configured.

(Inherited from OwnedNavigationStoredProcedureBuilder)

Methods

CreatePropertyBuilder(String)

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.

(Inherited from OwnedNavigationStoredProcedureBuilder)
CreatePropertyBuilder<TDependentEntity,TProperty>(Expression<Func<TDependentEntity,TProperty>>)

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.

(Inherited from OwnedNavigationStoredProcedureBuilder)
HasAnnotation(String, Object)

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

HasOriginalValueParameter(String, Action<StoredProcedureParameterBuilder>)

Configures a new parameter that holds the original value if no parameter mapped to the given property exists.

HasOriginalValueParameter(String)

Configures a new parameter that holds the original value if no parameter mapped to the given property exists.

HasOriginalValueParameter<TProperty>(Expression<Func<TDependentEntity,TProperty>>, Action<StoredProcedureParameterBuilder>)

Configures a new parameter that holds the original value if no parameter mapped to the given property exists.

HasOriginalValueParameter<TProperty>(Expression<Func<TDependentEntity,TProperty>>)

Configures a new parameter that holds the original value if no parameter mapped to the given property exists.

HasParameter(String, Action<StoredProcedureParameterBuilder>)

Configures a new parameter if no parameter mapped to the given property exists.

HasParameter(String)

Configures a new parameter if no parameter mapped to the given property exists.

HasParameter<TProperty>(Expression<Func<TDependentEntity,TProperty>>, Action<StoredProcedureParameterBuilder>)

Configures a new parameter if no parameter mapped to the given property exists.

HasParameter<TProperty>(Expression<Func<TDependentEntity,TProperty>>)

Configures a new parameter if no parameter mapped to the given property exists.

HasResultColumn(String, Action<StoredProcedureResultColumnBuilder>)

Configures a new column of the result for this stored procedure. This is used for database generated columns.

HasResultColumn(String)

Configures a new column of the result for this stored procedure. This is used for database generated columns.

HasResultColumn<TProperty>(Expression<Func<TDependentEntity,TProperty>>, Action<StoredProcedureResultColumnBuilder>)

Configures a new column of the result for this stored procedure. This is used for database generated columns.

HasResultColumn<TProperty>(Expression<Func<TDependentEntity,TProperty>>)

Configures a new column of the result for this stored procedure. This is used for database generated columns.

HasRowsAffectedParameter()

Configures a new parameter that returns the rows affected if no such parameter exists.

HasRowsAffectedParameter(Action<StoredProcedureParameterBuilder>)

Configures a new parameter that returns the rows affected if no such parameter exists.

HasRowsAffectedResultColumn()

Configures a new column of the result that returns the rows affected for this stored procedure if no such column exists.

HasRowsAffectedResultColumn(Action<StoredProcedureResultColumnBuilder>)

Configures a new column of the result that returns the rows affected for this stored procedure if no such column exists.

HasRowsAffectedReturnValue(Boolean)

Configures the result of this stored procedure to be the number of rows affected.

Explicit Interface Implementations

IInfrastructure<IConventionStoredProcedureBuilder>.Instance

Gets the value of the property being hidden.

(Inherited from OwnedNavigationStoredProcedureBuilder)
IInfrastructure<OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>>.Instance
IInfrastructure<OwnedNavigationBuilder>.Instance (Inherited from OwnedNavigationStoredProcedureBuilder)

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