The parameter definition can be done using both the “code” and the “design” method, which is given below with related explanations:

parameters.Add(input1,input2);
input1: String parameter name
input2: field name in entity
Output: Define the parameter with the first input name