ISqlGenerationHelper.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)
- Source:
- ISqlGenerationHelper.cs
- Source:
- ISqlGenerationHelper.cs
- Source:
- ISqlGenerationHelper.cs
Generates a valid parameter name for the given candidate name.
public string GenerateParameterName (string name);
abstract member GenerateParameterName : string -> string
Public 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.
Applies to
GenerateParameterName(StringBuilder, String)
- Source:
- ISqlGenerationHelper.cs
- Source:
- ISqlGenerationHelper.cs
- Source:
- ISqlGenerationHelper.cs
Writes a valid parameter name for the given candidate name.
public void GenerateParameterName (System.Text.StringBuilder builder, string name);
abstract member GenerateParameterName : System.Text.StringBuilder * string -> unit
Public 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.
Applies to
Entity Framework