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;
};
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.