public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } binStream.Write(this._AreFlags); }
public override void MergeImport(System.Xml.XmlReader xml) { base.MergeImport(xml); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) return; switch (xml.NamespaceURI + "|" + xml.LocalName) { case "Zetbox.App.Base|Group": this._fk_guid_Group = XmlStreamer.ReadNullableGuid(xml); break; } }
public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } binStream.Write(this.Proxy.GetErrorTextInvocation != null ? OurContext.GetIdFromProxy(this.Proxy.GetErrorTextInvocation) : (int?)null); binStream.Write(this.Proxy.IsValidInvocation != null ? OurContext.GetIdFromProxy(this.Proxy.IsValidInvocation) : (int?)null); }
public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } binStream.Write(this._EagerLoading); binStream.Write(this._IsInlineEditable); binStream.Write(RelationEnd != null ? RelationEnd.ID : (int?)null); }
public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } binStream.Write(CompoundObjectDefinition != null ? CompoundObjectDefinition.ID : (int?)null); binStream.Write(this._HasPersistentOrder); binStream.Write(this._IsList); }
public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } binStream.Write(this._Description); binStream.Write(Method != null ? Method.ID : (int?)null); binStream.Write(Property != null ? Property.ID : (int?)null); }
public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } binStream.Write(this.Proxy.MyIntProperty); binStream.Write(this.Proxy.ObjectProp != null ? OurContext.GetIdFromProxy(this.Proxy.ObjectProp) : (int?)null); binStream.Write(this.Proxy.StringProp); binStream.Write((int?)Proxy.TestEnumProp); }
public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } binStream.Write(DisplayedTypeAssembly != null ? DisplayedTypeAssembly.ID : (int?)null); binStream.Write(this._DisplayedTypeFullName); binStream.Write(this._DisplayName); binStream.Write(VisualTree != null ? VisualTree.ID : (int?)null); }
public override void Export(System.Xml.XmlWriter xml, string[] modules) { base.Export(xml, modules); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } if (modules.Contains("*") || modules.Contains("Zetbox.App.Base")) { XmlStreamer.ToStream(DefaultPropertyViewModelDescriptor != null ? DefaultPropertyViewModelDescriptor.ExportGuid : (Guid?)null, xml, "DefaultPropertyViewModelDescriptor", "Zetbox.App.Base"); } }
public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } { var key = this.RelationshipManager.GetRelatedReference <Zetbox.App.GUI.ViewModelDescriptorEfImpl>("Model.FK_Presentable_may_has_DefaultPropViewModelDescriptor", "DefaultPropViewModelDescriptor").EntityKey; binStream.Write(key != null ? (int?)key.EntityKeyValues.Single().Value : (int?)null); } }
public override void Export(System.Xml.XmlWriter xml, string[] modules) { base.Export(xml, modules); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI")) { XmlStreamer.ToStream(ObjectClass != null ? ObjectClass.ExportGuid : (Guid?)null, xml, "ObjectClass", "Zetbox.App.GUI"); } }
public override void Export(System.Xml.XmlWriter xml, string[] modules) { base.Export(xml, modules); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } if (modules.Contains("*") || modules.Contains("Zetbox.App.Base")) { XmlStreamer.ToStream(this.Proxy.Enumeration != null ? this.Proxy.Enumeration.ExportGuid : (Guid?)null, xml, "Enumeration", "Zetbox.App.Base"); } }
public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } { var key = this.RelationshipManager.GetRelatedReference <Zetbox.App.Base.ObjectClassEfImpl>("Model.FK_ObjectClass_Has_FilterConfigurations", "ObjectClass").EntityKey; binStream.Write(key != null ? (int?)key.EntityKeyValues.Single().Value : (int?)null); } }
public override void Export(System.Xml.XmlWriter xml, string[] modules) { base.Export(xml, modules); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } if (modules.Contains("*") || modules.Contains("Zetbox.App.Calendar")) { XmlStreamer.ToStream((int?)((Zetbox.App.Calendar.DayOfWeekCalendarRule) this).DayOfWeek, xml, "DayOfWeek", "Zetbox.App.Calendar"); } }
public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } binStream.Write(this._MyIntProperty); binStream.Write(ObjectProp != null ? ObjectProp.ID : (int?)null); binStream.Write(this._StringProp); binStream.Write((int?)((Zetbox.App.Test.TestObjClass) this).TestEnumProp); }
public override void Export(System.Xml.XmlWriter xml, string[] modules) { base.Export(xml, modules); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI")) { XmlStreamer.ToStream(this._Predicate, xml, "Predicate", "Zetbox.App.GUI"); } }
// END Zetbox.DalProvider.Ef.Generator.Templates.Properties.IdProperty #region Serializer public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } { var key = this.RelationshipManager.GetRelatedReference <Zetbox.App.Test.MethodTestEfImpl>("Model.FK_Parent_has_Children", "Parent").EntityKey; binStream.Write(key != null ? (int?)key.EntityKeyValues.Single().Value : (int?)null); } binStream.Write(this._StringProp); }
public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } binStream.Write(this._Frage); binStream.Write(Fragebogen != null ? Fragebogen.ID : (int?)null); binStream.Write(this._gute_Antworten_pos); binStream.Write(this._FragenNummer); binStream.Write(this._GegebeneAntwort); }
public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } binStream.Write(this.Proxy.Destination); binStream.Write(this.Proxy.DestinationRows); binStream.Write(this.Proxy.Source); binStream.Write(this.Proxy.SourceRows); binStream.Write(this.Proxy.Timestamp); }
public override void Export(System.Xml.XmlWriter xml, string[] modules) { base.Export(xml, modules); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } System.Diagnostics.Debug.Assert(this._isIsUniqueSet, "Exported objects need to have all default values evaluated"); if (modules.Contains("*") || modules.Contains("Zetbox.App.Base")) { XmlStreamer.ToStream(this._IsUnique, xml, "IsUnique", "Zetbox.App.Base"); } }
// END Zetbox.DalProvider.Ef.Generator.Templates.Properties.IdProperty #region Serializer public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } binStream.Write(this._Name); { var key = this.RelationshipManager.GetRelatedReference <Zetbox.App.Test.One_to_N_relations_OneEfImpl>("Model.FK_OneSide_connectsTo_NSide", "OneSide").EntityKey; binStream.Write(key != null ? (int?)key.EntityKeyValues.Single().Value : (int?)null); } }
public override void MergeImport(System.Xml.XmlReader xml) { base.MergeImport(xml); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } switch (xml.NamespaceURI + "|" + xml.LocalName) { case "Zetbox.App.Base|DateTimeStyle": Proxy.DateTimeStyle = (Zetbox.App.Base.DateTimeStyles?)XmlStreamer.ReadNullableInt32(xml); break; } }
public override void MergeImport(System.Xml.XmlReader xml) { base.MergeImport(xml); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } switch (xml.NamespaceURI + "|" + xml.LocalName) { case "Zetbox.App.GUI|Predicate": this._Predicate = XmlStreamer.ReadString(xml); break; } }
public override void MergeImport(System.Xml.XmlReader xml) { base.MergeImport(xml); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } switch (xml.NamespaceURI + "|" + xml.LocalName) { case "Zetbox.App.Calendar|DayOfWeek": ((Zetbox.App.Calendar.DayOfWeekCalendarRule) this).DayOfWeek = (Zetbox.App.Base.DayOfWeek)XmlStreamer.ReadNullableInt32(xml); break; } }
public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } binStream.Write(this._EagerLoading); binStream.Write(this._IsInlineEditable); { var key = this.RelationshipManager.GetRelatedReference <Zetbox.App.Base.RelationEndEfImpl>("Model.FK_RelationEnd_has_Navigator", "RelationEnd").EntityKey; binStream.Write(key != null ? (int?)key.EntityKeyValues.Single().Value : (int?)null); } }
public override void MergeImport(System.Xml.XmlReader xml) { base.MergeImport(xml); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } switch (xml.NamespaceURI + "|" + xml.LocalName) { case "Zetbox.App.GUI|IsCurrentYearDefault": this.Proxy.IsCurrentYearDefault = XmlStreamer.ReadNullableBoolean(xml); break; } }
public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } binStream.Write(FalseIcon != null ? FalseIcon.ID : (int?)null); binStream.Write(this._FalseLabel); binStream.Write(NullIcon != null ? NullIcon.ID : (int?)null); binStream.Write(this._NullLabel); binStream.Write(TrueIcon != null ? TrueIcon.ID : (int?)null); binStream.Write(this._TrueLabel); }
public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } binStream.Write(this._HasPersistentOrder); binStream.Write(this._ImplementorRoleName); binStream.Write(this._IsList); binStream.Write(this._ItemRoleName); binStream.Write(ReferencedObjectClass != null ? ReferencedObjectClass.ID : (int?)null); binStream.Write(this._Verb); }
public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } { var key = this.RelationshipManager.GetRelatedReference <Zetbox.App.Base.CompoundObjectEfImpl>("Model.FK_CompoundObjectProperty_has_CompoundObjectDefinition", "CompoundObjectDefinition").EntityKey; binStream.Write(key != null ? (int?)key.EntityKeyValues.Single().Value : (int?)null); } binStream.Write(this._HasPersistentOrder); binStream.Write(this._IsList); }
public override void ToStream(Zetbox.API.ZetboxStreamWriter binStream, HashSet <IStreamable> auxObjects, bool eagerLoadLists) { base.ToStream(binStream, auxObjects, eagerLoadLists); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } binStream.Write(this._TestBool); binStream.Write(TestCustomObjects_Nav != null ? TestCustomObjects_Nav.ID : (int?)null); binStream.Write(TestCustomObjects_One_Nav != null ? TestCustomObjects_One_Nav.ID : (int?)null); binStream.Write(this._TestDateTime); binStream.Write((int?)((Zetbox.App.Test.Muhblah) this).TestEnum); binStream.Write(this._TestString); }