-
Notifications
You must be signed in to change notification settings - Fork 0
ORM Contexts
G-Art edited this page Jan 5, 2021
·
6 revisions
Coretex ORM based on two contexts first is global meta-type context and item-related context.
Coretex contain CortexContext that implement MetaTypeProvider interface.
This context used to provide any information about predefined meta types like (RegularTypeItem, MetaTypeItem, MetaEnumValueTypeItem, MetaEnumTypeItem, MetaRelationTypeItem)
Using this context ActiveORM perform the following operation like: item creation, item saving, item removing, query transformation.
Each Item instance contains ItemContext to provide abilities lazyload attributes data, a track that data been changed and used in saving action.
Be aware!!!
Methatypes has specific context that restricts their modification to prevent metadata changing during runtime.