OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>.HasRowsAffectedParameter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
HasRowsAffectedParameter()
Configures a new parameter that returns the rows affected if no such parameter exists.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasRowsAffectedParameter ();
override this.HasRowsAffectedParameter : unit -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasRowsAffectedParameter () As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)
Returns
The same builder instance so that multiple configuration calls can be chained.
Applies to
HasRowsAffectedParameter(Action<StoredProcedureParameterBuilder>)
Configures a new parameter that returns the rows affected if no such parameter exists.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasRowsAffectedParameter (Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> buildAction);
override this.HasRowsAffectedParameter : Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasRowsAffectedParameter (buildAction As Action(Of StoredProcedureParameterBuilder)) As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)
Parameters
- buildAction
- Action<StoredProcedureParameterBuilder>
An action that performs configuration of the parameter.
Returns
The same builder instance so that multiple configuration calls can be chained.
Applies to
Entity Framework