Table of Contents

Constructor VelocityField

Namespace
YndigoBlue.Velocity.Attributes
Assembly
YndigoBlue.Velocity.dll

VelocityField(string, bool)

Maps this property to the specified database column.

public VelocityField(string fieldName, bool autoGenerate = false)

Parameters

fieldName string

The database column name to map to.

autoGenerate bool

When true, the column value is generated by the database (e.g. identity/serial) and will be excluded from INSERT statements.

VelocityField(bool)

Marks this property to be excluded from all data binding operations. Use [VelocityField(ignore: true)] to prevent a property from being read or written during Record.Bind, BindResults, or any other binding mode.

public VelocityField(bool ignore)

Parameters

ignore bool

Must be true to ignore this property.