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; } }
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; } }
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; } }
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(DefaultPropertyViewModelDescriptor != null ? DefaultPropertyViewModelDescriptor.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; { var key = this.RelationshipManager.GetRelatedReference<Zetbox.App.Base.GroupEfImpl>("Model.FK_GroupMembership_has_Group", "Group").EntityKey; binStream.Write(key != null ? (int?)key.EntityKeyValues.Single().Value : (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.Enumeration != null ? OurContext.GetIdFromProxy(this.Proxy.Enumeration) : (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((int?)((Zetbox.App.Calendar.DayOfWeekCalendarRule) this).DayOfWeek); }
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._CurrentNumber); binStream.Write(Sequence != null ? Sequence.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(GetErrorTextInvocation != null ? GetErrorTextInvocation.ID : (int?)null); binStream.Write(IsValidInvocation != null ? IsValidInvocation.ID : (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|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._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(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.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"); } }
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"); } }
// 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); }
// 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 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 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._Destination); binStream.Write(this._DestinationRows); binStream.Write(this._Source); binStream.Write(this._SourceRows); binStream.Write(this._Timestamp); }
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 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(this._Date); binStream.Write(this._Exception); binStream.Write(this._Level); binStream.Write(this._Logger); binStream.Write(this._Message); binStream.Write(this._Thread); }