public Zetbox.API.Async.ZbTask TriggerFetchASideAsync() { if (_triggerFetchASideTask != null) return _triggerFetchASideTask; _triggerFetchASideTask = Context.FetchRelationAsync<Zetbox.App.Test.ASide_connectsTo_BSide_RelationEntryMemoryImpl>(new Guid("3555da6e-0e9b-4f7c-903e-a51f3cce7cd9"), RelationEndRole.B, this); _triggerFetchASideTask.OnResult(r => { _ASide = new ObservableASideCollectionWrapper<Zetbox.App.Test.N_to_M_relations_A, Zetbox.App.Test.N_to_M_relations_B, Zetbox.App.Test.ASide_connectsTo_BSide_RelationEntryMemoryImpl, ICollection<Zetbox.App.Test.ASide_connectsTo_BSide_RelationEntryMemoryImpl>>( this, new RelationshipFilterBSideCollection<Zetbox.App.Test.ASide_connectsTo_BSide_RelationEntryMemoryImpl>(this.Context, this)); // _ASide.CollectionChanged is managed by OnASideCollectionChanged() and called from the RelationEntry }); return _triggerFetchASideTask; }
public Zetbox.API.Async.ZbTask TriggerFetchMemberAsync() { if (_triggerFetchMemberTask != null) return _triggerFetchMemberTask; _triggerFetchMemberTask = Context.FetchRelationAsync<Zetbox.App.Base.Identities_memberOf_Groups_RelationEntryMemoryImpl>(new Guid("3efb7ae8-ba6b-40e3-9482-b45d1c101743"), RelationEndRole.B, this); _triggerFetchMemberTask.OnResult(r => { _Member = new ObservableASideCollectionWrapper<Zetbox.App.Base.Identity, Zetbox.App.Base.Group, Zetbox.App.Base.Identities_memberOf_Groups_RelationEntryMemoryImpl, ICollection<Zetbox.App.Base.Identities_memberOf_Groups_RelationEntryMemoryImpl>>( this, new RelationshipFilterBSideCollection<Zetbox.App.Base.Identities_memberOf_Groups_RelationEntryMemoryImpl>(this.Context, this)); // _Member.CollectionChanged is managed by OnMemberCollectionChanged() and called from the RelationEntry }); return _triggerFetchMemberTask; }
public Zetbox.API.Async.ZbTask TriggerFetchMuhBlah_ManyList_NavAsync() { if (_triggerFetchMuhBlah_ManyList_NavTask != null) return _triggerFetchMuhBlah_ManyList_NavTask; _triggerFetchMuhBlah_ManyList_NavTask = Context.FetchRelationAsync<Zetbox.App.Test.MB_Many_Role_has_TCO_ManyList_Role_RelationEntryMemoryImpl>(new Guid("d1e0da3e-ce64-4587-b62d-70c0f4371d97"), RelationEndRole.B, this); _triggerFetchMuhBlah_ManyList_NavTask.OnResult(r => { _MuhBlah_ManyList_Nav = new ObservableASideCollectionWrapper<Zetbox.App.Test.Muhblah, Zetbox.App.Test.TestCustomObject, Zetbox.App.Test.MB_Many_Role_has_TCO_ManyList_Role_RelationEntryMemoryImpl, ICollection<Zetbox.App.Test.MB_Many_Role_has_TCO_ManyList_Role_RelationEntryMemoryImpl>>( this, new RelationshipFilterBSideCollection<Zetbox.App.Test.MB_Many_Role_has_TCO_ManyList_Role_RelationEntryMemoryImpl>(this.Context, this)); // _MuhBlah_ManyList_Nav.CollectionChanged is managed by OnMuhBlah_ManyList_NavCollectionChanged() and called from the RelationEntry }); return _triggerFetchMuhBlah_ManyList_NavTask; }
public Zetbox.API.Async.ZbTask TriggerFetchShowByPropertiesAsync() { if (_triggerFetchShowByPropertiesTask != null) return _triggerFetchShowByPropertiesTask; _triggerFetchShowByPropertiesTask = Context.FetchRelationAsync<Zetbox.App.GUI.ObjRefProp_shows_Methods_RelationEntryMemoryImpl>(new Guid("02b3e9d5-fc2e-4ffe-8867-0977b88437cc"), RelationEndRole.B, this); _triggerFetchShowByPropertiesTask.OnResult(r => { _ShowByProperties = new ObservableASideCollectionWrapper<Zetbox.App.Base.ObjectReferenceProperty, Zetbox.App.Base.Method, Zetbox.App.GUI.ObjRefProp_shows_Methods_RelationEntryMemoryImpl, ICollection<Zetbox.App.GUI.ObjRefProp_shows_Methods_RelationEntryMemoryImpl>>( this, new RelationshipFilterBSideCollection<Zetbox.App.GUI.ObjRefProp_shows_Methods_RelationEntryMemoryImpl>(this.Context, this)); // _ShowByProperties.CollectionChanged is managed by OnShowByPropertiesCollectionChanged() and called from the RelationEntry }); return _triggerFetchShowByPropertiesTask; }
public Zetbox.API.Async.ZbTask TriggerFetchStudentAsync() { if (_triggerFetchStudentTask != null) return _triggerFetchStudentTask; _triggerFetchStudentTask = Context.FetchRelationAsync<Zetbox.App.Test.Student_füllt_aus_Testbogen_RelationEntryMemoryImpl>(new Guid("6819ca86-571c-4d59-bc30-cc1fb0decc9e"), RelationEndRole.B, this); _triggerFetchStudentTask.OnResult(r => { _Student = new ObservableASideCollectionWrapper<Zetbox.App.Test.TestStudent, Zetbox.App.Test.Fragebogen, Zetbox.App.Test.Student_füllt_aus_Testbogen_RelationEntryMemoryImpl, ICollection<Zetbox.App.Test.Student_füllt_aus_Testbogen_RelationEntryMemoryImpl>>( this, new RelationshipFilterBSideCollection<Zetbox.App.Test.Student_füllt_aus_Testbogen_RelationEntryMemoryImpl>(this.Context, this)); // _Student.CollectionChanged is managed by OnStudentCollectionChanged() and called from the RelationEntry }); return _triggerFetchStudentTask; }