IRISLIB database
RowVersion Class Reference

The RowVersion type represents a 64 bit integer value. More...

Inheritance diagram for RowVersion:
Collaboration diagram for RowVersion:

Additional Inherited Members

- Static Public Member Functions inherited from BigInt
_.Library.Status IsValid (_, _.Library.RawString val)
 Tests if the logical value val, which is an integer value, is valid. More...
 
_.Library.Integer Normalize (_, _.Library.RawString val)
 Converts val to a normalized value.
 
_.Library.BigInt XSDToLogical (_, _.Library.String val)
 Converts the SOAP encoded input decimal value into a BiglInt value. More...
 
- Static Public Member Functions inherited from Integer
_.Library.Integer DisplayToLogical (_, _.Library.String val)
 Converts the input value val, which is a string representing an integer,. More...
 
_.Library.String LogicalToDisplay (_, _.Library.Integer val)
 Converts the value of val, which is in logical integer format, into a display string. More...
 
- Static Public Attributes inherited from BigInt
 MAXVAL = None
 The maximum allowed logical value for the data type.
 
 MINVAL = None
 The minimum allowed logical value for the data type.
 
 XSDTYPE = None
 Declares the XSD type used when projecting XML Schemas.
 
- Static Public Attributes inherited from Integer
 DISPLAYLIST = None
 The Integer data type class represents an integer value. More...
 
 FORMAT = None
 The format specification for the data type's display value. More...
 
 MAXVAL = None
 The maximum allowed logical value for the data type.
 
 MINVAL = None
 The minimum allowed logical value for the data type.
 
 STRICT = None
 If '1' then <method>IsValid</method> will return false for numbers that are not integers e.g. More...
 
 VALUELIST = None
 Used for enumerated (multiple-choice) attributes. More...
 
 XMLTotalDigits = None
 The total number of digits for XML verification as defined by http://www.w3.org/TR/xmlschema-2/#rf-totalDigits.
 
 XSDTYPE = None
 Declares the XSD type used when projecting XML Schemas.
 
- Static Public Attributes inherited from DataType
 INDEXNULLMARKER = None
 Override this parameter value to specify what value should be used as a null marker when a property of the type is used in a subscript of an index map. More...
 

Detailed Description

The RowVersion type represents a 64 bit integer value.

This is identical to the <CLASS>BigInt</CLASS> data type with the exception a property of type RowVersion has special meaning to the Object and SQL filers.

A property/field of type RowVersion will increment a namespace-wide counter located at ^rINDEXEXT("rv"), and that incremented value will be stored in the RowVersion property/field for each INSERT, UPDATE, or Save that occurs on the class/table. A RowVersion property/field is typically used to enforce concurrency for the row/object.

Only one property/field per class/table may be defined with type RowVersion.

A property/field of type RowVersion may not be a property of the IdKey index.

A property/field of type RowVersion may not have a value explicitly set by an INSERT or UPDATE statement or Save call.

The Library.RowVersion class is Final, and cannot be subclassed.