Enum DbParamsCase
Namespace: Momentum.Extensions.Abstractions.Dapper
Assembly: Momentum.Extensions.Abstractions.dll
Specifies how property names are converted to database parameter names in generated ToDbParams() implementations.
csharp
public enum DbParamsCaseFields
None = 0
Use the property names as-is (default).
SnakeCase = 1
Convert property names to snake_case.
Unset = -1
Uses the global default specified by the DbCommandDefaultParamCase MSBuild property. If no global default is set, behaves like .