Constructor Record
- Namespace
- YndigoBlue.Velocity.Model
- Assembly
- YndigoBlue.Velocity.dll
Record(Table, BindingType, bool)
Creates a new typed record for the specified table with the specified binding strategy.
public Record(Table table, BindingType bindingType, bool preserveNumbers = true)
Parameters
tableTableThe table that this record will be inserted into or used to update.
bindingTypeBindingTypeThe binding strategy to use for mapping object properties to database columns.
preserveNumbersboolWhen binding is done with Snake Case should numbers be preserved in their own section of the name or consumed by the parser.