WSomeObject* pSomeObject = NULL;
WSomeObject::Create(&pSomeObject, pParentObject);
pParentObject->LinkSomeObject(pSomeObject); //sustaining link pParentObject->SetSomeObject(pSomeObject); //lazy-link pParentObject->SetUnspecifiedObject(&pSomeObject->BuildLink(true)); //sustaining link pParentObject->SetUnspecifiedObject(&pSomeObject->BuildLink(false)); //lazy-link pDomain->InsertNamedObject(&pSomeObject->BuildLink(true), &guidEntryPoint, L"someEntryPoint"); //Entry-Point-Link
DataFoundation::ObjectId oi; pDomain->QueryNamedObjectId(&guidEntryPoint, 1, &oi);
WSomeObject::Open(&pSomeObject, &oi, pDomain);
pSomeObject->OpenSomeChildObject(&pSomeChildObject);
pSomeObject->Load();
pSomeObject->GetDomain()->Execute(Transaction::Load);
const AttributeType* pMyAttributeSetting1; pSomeObject->GetAttribute1(&pMyAttributeSetting1);
pSomeObject->Release();
pSomeObject->SetAttribute1(MyAttributeSetting1);
pSomeObject->Store();
pSomeObject->GetDomain()->Execute(Transaction::Store);