TableValuedFunctionBuilder<TEntity>.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.
Returns an object that can be used to configure a parameter with the given name. If no parameter with the given name exists, then a new parameter will be added.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder<TEntity> HasParameter (string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionParameterBuilder> buildAction);
override this.HasParameter : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionParameterBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder<'Entity (requires 'Entity : null)>
Public Overridable Function HasParameter (name As String, buildAction As Action(Of DbFunctionParameterBuilder)) As TableValuedFunctionBuilder(Of TEntity)
Parameters
- name
- String
The parameter name.
- buildAction
- Action<DbFunctionParameterBuilder>
An action that performs configuration of the parameter.
Returns
The builder to use for further parameter configuration.
Remarks
See Database functions for more information and examples.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för