Table of Contents

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

table Table

The table that this record will be inserted into or used to update.

bindingType BindingType

The binding strategy to use for mapping object properties to database columns.

preserveNumbers bool

When binding is done with Snake Case should numbers be preserved in their own section of the name or consumed by the parser.