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
fieldNamestringThe database column name to map to.
autoGenerateboolWhen
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
ignoreboolMust be
trueto ignore this property.