IDataObjectVersion
Represents the entity of a version for a data object.
A version in onion.net is the content modification of a data object. The content of a data object is an Xml that follows a defined schema (XSD).
Versions are always generated when data objects are checked out by a user.
Properties
| Property | Description |
|---|---|
| Editor:IUser | Gets the editor of the version. |
| LastModification:DateTime | Gets the date of the saving the version. |
| MinorVersion:Int32 | Gets the minor version of the version. |
| Utf8Bytes:Byte[] | Gets the Xml of the version. |
| Version:Int32 | Gets the major version of the version. |
| XmlData:String | Gets the Xml of the version. |
Methods
| Method | Description |
|---|---|
| CreateUtf8Stream():Stream | Generates a data stream for reading the Xml. |
| CreateXmlReader():XmlReader | Generates an XmlReader for reading the Xml. |
| CreateXmlReader(XmlNameTable):XmlReader | Generates an XmlReader for reading the Xml. |
| Destroy():Void | Irrevocably deletes the version. |
| GetBinary(String):IBinaryObject | Calls a binary object for the current version. |
| Restore():Void | Restores the version. |
