Skip to content

Automatic entity lazy load or aggregation with forign entity id #8

Description

@Arkensor

Think about if a db entity should be able to mention another entity by id so that on load from db or on lazy access on the property the relation is hydrated.

Needs a concept of how the other db entity is accessed, how the foreign key is annotated in the primary db entity and how to avoid cyclic loads and how to deal with async calls on the lazy get.

class TAG_MyCustomDbEntity : EDF_DbEntity
{
    [ForignKey()]
    string m_sOtherDbEntity;
};

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions