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