public Zetbox.API.Async.ZbTask TriggerFetchBSideAsync() { if (_triggerFetchBSideTask != null) return _triggerFetchBSideTask; _triggerFetchBSideTask = Context.FetchRelationAsync<Zetbox.App.Test.ASide_connectsTo_BSide_RelationEntryMemoryImpl>(new Guid("3555da6e-0e9b-4f7c-903e-a51f3cce7cd9"), RelationEndRole.A, this); _triggerFetchBSideTask.OnResult(r => { _BSide = new ObservableBSideCollectionWrapper<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 RelationshipFilterASideCollection<Zetbox.App.Test.ASide_connectsTo_BSide_RelationEntryMemoryImpl>(this.Context, this)); // _BSide.CollectionChanged is managed by OnBSideCollectionChanged() and called from the RelationEntry }); return _triggerFetchBSideTask; }
public Zetbox.API.Async.ZbTask TriggerFetchInputsAsync() { if (_triggerFetchInputsTask != null) return _triggerFetchInputsTask; if (!Inputs_was_eagerLoaded) _triggerFetchInputsTask = Context.FetchRelationAsync<Zetbox.App.Base.CalculatedReference_dependsOn_InputProperties_RelationEntryMemoryImpl>(new Guid("47595643-e8d0-48ef-82c7-2d24de8a784e"), RelationEndRole.A, this); else _triggerFetchInputsTask = new Zetbox.API.Async.ZbTask(Zetbox.API.Async.ZbTask.Synchron, null); _triggerFetchInputsTask.OnResult(r => { _Inputs = new ObservableBSideCollectionWrapper<Zetbox.App.Base.CalculatedObjectReferenceProperty, Zetbox.App.Base.Property, Zetbox.App.Base.CalculatedReference_dependsOn_InputProperties_RelationEntryMemoryImpl, ICollection<Zetbox.App.Base.CalculatedReference_dependsOn_InputProperties_RelationEntryMemoryImpl>>( this, new RelationshipFilterASideCollection<Zetbox.App.Base.CalculatedReference_dependsOn_InputProperties_RelationEntryMemoryImpl>(this.Context, this)); // _Inputs.CollectionChanged is managed by OnInputsCollectionChanged() and called from the RelationEntry }); return _triggerFetchInputsTask; }
public Zetbox.API.Async.ZbTask TriggerFetchGroupsAsync() { if (_triggerFetchGroupsTask != null) return _triggerFetchGroupsTask; if (!Groups_was_eagerLoaded) _triggerFetchGroupsTask = Context.FetchRelationAsync<Zetbox.App.GUI.NavigationScreen_accessed_by_Groups_RelationEntryMemoryImpl>(new Guid("b88c12ac-eabe-4aee-913e-5edd9d2a193a"), RelationEndRole.A, this); else _triggerFetchGroupsTask = new Zetbox.API.Async.ZbTask(Zetbox.API.Async.ZbTask.Synchron, null); _triggerFetchGroupsTask.OnResult(r => { _Groups = new ObservableBSideCollectionWrapper<Zetbox.App.GUI.NavigationEntry, Zetbox.App.Base.Group, Zetbox.App.GUI.NavigationScreen_accessed_by_Groups_RelationEntryMemoryImpl, ICollection<Zetbox.App.GUI.NavigationScreen_accessed_by_Groups_RelationEntryMemoryImpl>>( this, new RelationshipFilterASideCollection<Zetbox.App.GUI.NavigationScreen_accessed_by_Groups_RelationEntryMemoryImpl>(this.Context, this)); // _Groups.CollectionChanged is managed by OnGroupsCollectionChanged() and called from the RelationEntry }); return _triggerFetchGroupsTask; }
public Zetbox.API.Async.ZbTask TriggerFetchTestCustomObjects_ManyList_NavAsync() { if (_triggerFetchTestCustomObjects_ManyList_NavTask != null) return _triggerFetchTestCustomObjects_ManyList_NavTask; _triggerFetchTestCustomObjects_ManyList_NavTask = Context.FetchRelationAsync<Zetbox.App.Test.MB_Many_Role_has_TCO_ManyList_Role_RelationEntryMemoryImpl>(new Guid("d1e0da3e-ce64-4587-b62d-70c0f4371d97"), RelationEndRole.A, this); _triggerFetchTestCustomObjects_ManyList_NavTask.OnResult(r => { _TestCustomObjects_ManyList_Nav = new ObservableBSideCollectionWrapper<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 RelationshipFilterASideCollection<Zetbox.App.Test.MB_Many_Role_has_TCO_ManyList_Role_RelationEntryMemoryImpl>(this.Context, this)); // _TestCustomObjects_ManyList_Nav.CollectionChanged is managed by OnTestCustomObjects_ManyList_NavCollectionChanged() and called from the RelationEntry }); return _triggerFetchTestCustomObjects_ManyList_NavTask; }
public Zetbox.API.Async.ZbTask TriggerFetchGroupsAsync() { if (_triggerFetchGroupsTask != null) return _triggerFetchGroupsTask; _triggerFetchGroupsTask = Context.FetchRelationAsync<Zetbox.App.Base.Identities_memberOf_Groups_RelationEntryMemoryImpl>(new Guid("3efb7ae8-ba6b-40e3-9482-b45d1c101743"), RelationEndRole.A, this); _triggerFetchGroupsTask.OnResult(r => { _Groups = new ObservableBSideCollectionWrapper<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 RelationshipFilterASideCollection<Zetbox.App.Base.Identities_memberOf_Groups_RelationEntryMemoryImpl>(this.Context, this)); // _Groups.CollectionChanged is managed by OnGroupsCollectionChanged() and called from the RelationEntry }); return _triggerFetchGroupsTask; }
public Zetbox.API.Async.ZbTask TriggerFetchReadersAsync() { if (_triggerFetchReadersTask != null) return _triggerFetchReadersTask; _triggerFetchReadersTask = Context.FetchRelationAsync<Zetbox.App.Calendar.Calendar_shared_r_Readers_RelationEntryMemoryImpl>(new Guid("385c829b-02d6-48d0-8184-b3b5df6c25be"), RelationEndRole.A, this); _triggerFetchReadersTask.OnResult(r => { _Readers = new ObservableBSideCollectionWrapper<Zetbox.App.Calendar.CalendarBook, Zetbox.App.Base.Identity, Zetbox.App.Calendar.Calendar_shared_r_Readers_RelationEntryMemoryImpl, ICollection<Zetbox.App.Calendar.Calendar_shared_r_Readers_RelationEntryMemoryImpl>>( this, new RelationshipFilterASideCollection<Zetbox.App.Calendar.Calendar_shared_r_Readers_RelationEntryMemoryImpl>(this.Context, this)); // _Readers.CollectionChanged is managed by OnReadersCollectionChanged() and called from the RelationEntry }); return _triggerFetchReadersTask; }
public Zetbox.API.Async.ZbTask TriggerFetchWritersAsync() { if (_triggerFetchWritersTask != null) return _triggerFetchWritersTask; _triggerFetchWritersTask = Context.FetchRelationAsync<Zetbox.App.Calendar.Calendar_shared_w_Writers_RelationEntryMemoryImpl>(new Guid("af8843f9-0085-47ec-bcb6-f0f8a22a2c03"), RelationEndRole.A, this); _triggerFetchWritersTask.OnResult(r => { _Writers = new ObservableBSideCollectionWrapper<Zetbox.App.Calendar.CalendarBook, Zetbox.App.Base.Identity, Zetbox.App.Calendar.Calendar_shared_w_Writers_RelationEntryMemoryImpl, ICollection<Zetbox.App.Calendar.Calendar_shared_w_Writers_RelationEntryMemoryImpl>>( this, new RelationshipFilterASideCollection<Zetbox.App.Calendar.Calendar_shared_w_Writers_RelationEntryMemoryImpl>(this.Context, this)); // _Writers.CollectionChanged is managed by OnWritersCollectionChanged() and called from the RelationEntry }); return _triggerFetchWritersTask; }
public Zetbox.API.Async.ZbTask TriggerFetchGroupReadersAsync() { if (_triggerFetchGroupReadersTask != null) return _triggerFetchGroupReadersTask; _triggerFetchGroupReadersTask = Context.FetchRelationAsync<Zetbox.App.Calendar.Calendar_shared_r_GroupReaders_RelationEntryMemoryImpl>(new Guid("775789a3-032e-478e-a01e-ec9f51580c5d"), RelationEndRole.A, this); _triggerFetchGroupReadersTask.OnResult(r => { _GroupReaders = new ObservableBSideCollectionWrapper<Zetbox.App.Calendar.CalendarBook, Zetbox.App.Base.Group, Zetbox.App.Calendar.Calendar_shared_r_GroupReaders_RelationEntryMemoryImpl, ICollection<Zetbox.App.Calendar.Calendar_shared_r_GroupReaders_RelationEntryMemoryImpl>>( this, new RelationshipFilterASideCollection<Zetbox.App.Calendar.Calendar_shared_r_GroupReaders_RelationEntryMemoryImpl>(this.Context, this)); // _GroupReaders.CollectionChanged is managed by OnGroupReadersCollectionChanged() and called from the RelationEntry }); return _triggerFetchGroupReadersTask; }
public Zetbox.API.Async.ZbTask TriggerFetchGroupWritersAsync() { if (_triggerFetchGroupWritersTask != null) return _triggerFetchGroupWritersTask; _triggerFetchGroupWritersTask = Context.FetchRelationAsync<Zetbox.App.Calendar.Calendar_shared_w_GroupWriters_RelationEntryMemoryImpl>(new Guid("93f20ca2-6935-41bc-8f80-7a441b3cf69d"), RelationEndRole.A, this); _triggerFetchGroupWritersTask.OnResult(r => { _GroupWriters = new ObservableBSideCollectionWrapper<Zetbox.App.Calendar.CalendarBook, Zetbox.App.Base.Group, Zetbox.App.Calendar.Calendar_shared_w_GroupWriters_RelationEntryMemoryImpl, ICollection<Zetbox.App.Calendar.Calendar_shared_w_GroupWriters_RelationEntryMemoryImpl>>( this, new RelationshipFilterASideCollection<Zetbox.App.Calendar.Calendar_shared_w_GroupWriters_RelationEntryMemoryImpl>(this.Context, this)); // _GroupWriters.CollectionChanged is managed by OnGroupWritersCollectionChanged() and called from the RelationEntry }); return _triggerFetchGroupWritersTask; }
public Zetbox.API.Async.ZbTask TriggerFetchMethodsAsync() { if (_triggerFetchMethodsTask != null) return _triggerFetchMethodsTask; _triggerFetchMethodsTask = Context.FetchRelationAsync<Zetbox.App.GUI.ObjRefProp_shows_Methods_RelationEntryMemoryImpl>(new Guid("02b3e9d5-fc2e-4ffe-8867-0977b88437cc"), RelationEndRole.A, this); _triggerFetchMethodsTask.OnResult(r => { _Methods = new ObservableBSideCollectionWrapper<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 RelationshipFilterASideCollection<Zetbox.App.GUI.ObjRefProp_shows_Methods_RelationEntryMemoryImpl>(this.Context, this)); // _Methods.CollectionChanged is managed by OnMethodsCollectionChanged() and called from the RelationEntry }); return _triggerFetchMethodsTask; }
public Zetbox.API.Async.ZbTask TriggerFetchImplementsInterfacesAsync() { if (_triggerFetchImplementsInterfacesTask != null) return _triggerFetchImplementsInterfacesTask; _triggerFetchImplementsInterfacesTask = Context.FetchRelationAsync<Zetbox.App.Base.DataType_implements_ImplementedInterfaces_RelationEntryMemoryImpl>(new Guid("692c1064-37a2-4be3-a81e-4cb91f673aa3"), RelationEndRole.A, this); _triggerFetchImplementsInterfacesTask.OnResult(r => { _ImplementsInterfaces = new ObservableBSideCollectionWrapper<Zetbox.App.Base.DataType, Zetbox.App.Base.Interface, Zetbox.App.Base.DataType_implements_ImplementedInterfaces_RelationEntryMemoryImpl, ICollection<Zetbox.App.Base.DataType_implements_ImplementedInterfaces_RelationEntryMemoryImpl>>( this, new RelationshipFilterASideCollection<Zetbox.App.Base.DataType_implements_ImplementedInterfaces_RelationEntryMemoryImpl>(this.Context, this)); // _ImplementsInterfaces.CollectionChanged is managed by OnImplementsInterfacesCollectionChanged() and called from the RelationEntry }); return _triggerFetchImplementsInterfacesTask; }
public Zetbox.API.Async.ZbTask TriggerFetchPropertiesAsync() { if (_triggerFetchPropertiesTask != null) return _triggerFetchPropertiesTask; _triggerFetchPropertiesTask = Context.FetchRelationAsync<Zetbox.App.Base.UniqueContraints_ensures_unique_on_Properties_RelationEntryMemoryImpl>(new Guid("29235ba6-5979-4ed8-8e75-6bd0837c7f28"), RelationEndRole.A, this); _triggerFetchPropertiesTask.OnResult(r => { _Properties = new ObservableBSideCollectionWrapper<Zetbox.App.Base.IndexConstraint, Zetbox.App.Base.Property, Zetbox.App.Base.UniqueContraints_ensures_unique_on_Properties_RelationEntryMemoryImpl, ICollection<Zetbox.App.Base.UniqueContraints_ensures_unique_on_Properties_RelationEntryMemoryImpl>>( this, new RelationshipFilterASideCollection<Zetbox.App.Base.UniqueContraints_ensures_unique_on_Properties_RelationEntryMemoryImpl>(this.Context, this)); // _Properties.CollectionChanged is managed by OnPropertiesCollectionChanged() and called from the RelationEntry }); return _triggerFetchPropertiesTask; }
public Zetbox.API.Async.ZbTask TriggerFetchSecondaryControlKindsAsync() { if (_triggerFetchSecondaryControlKindsTask != null) return _triggerFetchSecondaryControlKindsTask; _triggerFetchSecondaryControlKindsTask = Context.FetchRelationAsync<Zetbox.App.GUI.Presentable_displayedBy_SecondaryControlKinds_RelationEntryMemoryImpl>(new Guid("5404456a-4527-4e40-a660-b4a5e96e4a47"), RelationEndRole.A, this); _triggerFetchSecondaryControlKindsTask.OnResult(r => { _SecondaryControlKinds = new ObservableBSideCollectionWrapper<Zetbox.App.GUI.ViewModelDescriptor, Zetbox.App.GUI.ControlKind, Zetbox.App.GUI.Presentable_displayedBy_SecondaryControlKinds_RelationEntryMemoryImpl, ICollection<Zetbox.App.GUI.Presentable_displayedBy_SecondaryControlKinds_RelationEntryMemoryImpl>>( this, new RelationshipFilterASideCollection<Zetbox.App.GUI.Presentable_displayedBy_SecondaryControlKinds_RelationEntryMemoryImpl>(this.Context, this)); // _SecondaryControlKinds.CollectionChanged is managed by OnSecondaryControlKindsCollectionChanged() and called from the RelationEntry }); return _triggerFetchSecondaryControlKindsTask; }
public Zetbox.API.Async.ZbTask TriggerFetchTestbogenAsync() { if (_triggerFetchTestbogenTask != null) return _triggerFetchTestbogenTask; _triggerFetchTestbogenTask = Context.FetchRelationAsync<Zetbox.App.Test.Student_füllt_aus_Testbogen_RelationEntryMemoryImpl>(new Guid("6819ca86-571c-4d59-bc30-cc1fb0decc9e"), RelationEndRole.A, this); _triggerFetchTestbogenTask.OnResult(r => { _Testbogen = new ObservableBSideCollectionWrapper<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 RelationshipFilterASideCollection<Zetbox.App.Test.Student_füllt_aus_Testbogen_RelationEntryMemoryImpl>(this.Context, this)); // _Testbogen.CollectionChanged is managed by OnTestbogenCollectionChanged() and called from the RelationEntry }); return _triggerFetchTestbogenTask; }