CLR types (schema) evolution
From
version 4.1 Eloquera supports native type evolution.
Eloquera.config contains TypeUpdateAllowed
tag that determines whether type changes shall be auto detected and applied.
<SmartRuntime Smart="true" TypeUpdateAllowed ="true" />
If
TypeUpdateAllowed is turned on, while
storing a new object, database will auto-detect
·
Changes in field’s type. Already
stored objects' fields will be converted to a new type.
·
Newly added fields. Old objects
will be converted to a new type, with new fields assigned a default value.
·
Removed fields.
A
function to rename type is also available
void RenameType(Type
type, string oldTypeName);