Table of contents
VersionAttribute API Document
This attribute is used to specify that a property is the versioning property of the class
Constructors
VersionAttribute()
Initializes a new instance of the Castle.ActiveRecord.VersionAttribute class.
VersionAttribute(String column)
Initializes a new instance of the Castle.ActiveRecord.VersionAttribute class.
| Parameter | Description |
|---|---|
| column | The column. |
Properties
| Name | Type | Description |
|---|---|---|
| Column | String | Gets or sets the column name |
| Type | String | Gets or sets the type of the column (should be an integer of some type) |
| UnsavedValue | String | Gets or sets the unsaved value for this column |
| Access | PropertyAccess | Gets or sets the access strategy for this property |
| CustomAccess | String | Gets or sets the custom access strategy |
| AccessString | String | Gets the access strategy string for NHibernate's mapping. |