RelationalSqlGenerationHelper.GenerateParameterName 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
GenerateParameterName(String) |
Generates a valid parameter name for the given candidate name. |
GenerateParameterName(StringBuilder, String) |
Writes a valid parameter name for the given candidate name. |
GenerateParameterName(String)
Generates a valid parameter name for the given candidate name.
public virtual string GenerateParameterName (string name);
abstract member GenerateParameterName : string -> string
override this.GenerateParameterName : string -> string
Public Overridable Function GenerateParameterName (name As String) As String
Parameters
- name
- String
The candidate name for the parameter.
Returns
A valid name based on the candidate name.
Implements
Applies to
GenerateParameterName(StringBuilder, String)
Writes a valid parameter name for the given candidate name.
public virtual void GenerateParameterName (System.Text.StringBuilder builder, string name);
abstract member GenerateParameterName : System.Text.StringBuilder * string -> unit
override this.GenerateParameterName : System.Text.StringBuilder * string -> unit
Public Overridable Sub GenerateParameterName (builder As StringBuilder, name As String)
Parameters
- builder
- StringBuilder
The StringBuilder to write generated string to.
- name
- String
The candidate name for the parameter.
Implements
Applies to
Entity Framework