Fauna v10 .NET/C# Driver
1.0.0
Loading...
Searching...
No Matches
repo.git
Fauna
Mapping
FieldName.cs
Go to the documentation of this file.
1
namespace
Fauna.Mapping
;
2
6
public
static
class
FieldName
7
{
13
public
static
string
Canonical(
string
name) =>
14
(
string
.IsNullOrEmpty(name) ||
char
.IsLower(name[0])) ?
15
name :
16
string.Concat(name[0].ToString().ToLower(), name.AsSpan(1));
17
}
Fauna.Mapping
Definition
Attributes.cs:1
Fauna.Serialization.TokenType.FieldName
@ FieldName
The token type is a Fauna property name.
Generated by
1.9.8