ModelValidator.IsValidIdentifier(String) 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.
Returns true if the given name only uses letters, ASCII digits and underscores and does not start with a digit;
that is, if it can be used as-is as an identifier in generated code.
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public static bool IsValidIdentifier(string? name);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
static member IsValidIdentifier : string -> bool
Public Shared Function IsValidIdentifier (name As String) As Boolean
Parameters
- name
- String
Returns
- Attributes