src/Shared/EntityFramework/Core/Objects/ObjectParameter.cs
// <summary>
// This internal method uses regular expression matching to ensure that the
// specified parameter name is valid. Parameter names must start with a letter,
// and may only contain letters (A-Z, a-z), numbers (0-9) and underscores (_).
// </summary>
This internal method uses regular expression matching to ensure that the
specified parameter name is valid. Parameter names must start with a letter,
and may only contain letters (A-Z, a-z), numbers (0-9) and underscores (_).
This internal method uses regular expression matching to ensure that the specified parameter name is valid . Parameter names must start with a letter and may only contain letters ( A - Z a - z ) numbers ( 0 - 9 ) and underscores ( _ ) .
internal static bool ValidateParameterName(string name)
        {
            return DbCommandTree.IsValidParameterName(name);
        }
internal static bool ValidateParameterName ( string name ) { return DbCommandTree . IsValidParameterName ( name ) ; }
This internal method uses regular expression matching to ensure that the
specified parameter name is valid.
This internal method uses regular expression matching to ensure that the specified parameter name is valid .
// Note: Parameter names must begin with a letter, and may contain only // letters, numbers and underscores.
name
string