Column

Mark property as simple persistent property (must be of one of simple types).

@Column or @Column() - simple column, with name derived from field/property name. @Column("column_name") - simple column with specified name. @Column("column_name", field_length) - simple column with specified name and length (e.g. for varchar). @Column(field_length) - simple column with specified length; column name will be autogenerated

If column name is not specified, lowercased name of property with _ delimited camelCase words is used as column name. Field name camelCasePropertyName will be converted to camel_case_property_name column name.

Members

Variables

length
int length;
Undocumented in source.
name
string name;
Undocumented in source.

Meta