OwnedNavigationStoredProcedureBuilder.HasParameter 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
HasParameter(String) |
Configures a new parameter 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.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder HasParameter (string propertyName);
abstract member HasParameter : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder
override this.HasParameter : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder
Public Overridable Function HasParameter (propertyName As String) As OwnedNavigationStoredProcedureBuilder
Parameters
- propertyName
- String
The property name.
Returns
The same builder instance so that multiple configuration calls can be chained.
Applies to
HasParameter(String, Action<StoredProcedureParameterBuilder>)
Configures a new parameter if no parameter mapped to the given property exists.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder HasParameter (string propertyName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> buildAction);
abstract member HasParameter : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder
override this.HasParameter : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder
Public Overridable Function HasParameter (propertyName As String, buildAction As Action(Of StoredProcedureParameterBuilder)) As OwnedNavigationStoredProcedureBuilder
Parameters
- propertyName
- String
The parameter name.
- 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