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._IsCurrentMonthDefault, xml, "IsCurrentMonthDefault", "Zetbox.App.GUI"); } if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI")) { XmlStreamer.ToStream(this._IsCurrentQuaterDefault, xml, "IsCurrentQuaterDefault", "Zetbox.App.GUI"); } if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI")) { XmlStreamer.ToStream(this._IsCurrentYearDefault, xml, "IsCurrentYearDefault", "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.EagerLoading, xml, "EagerLoading", "Zetbox.App.Base"); } if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI")) { XmlStreamer.ToStream(this.Proxy.IsInlineEditable, xml, "IsInlineEditable", "Zetbox.App.GUI"); } if (modules.Contains("*") || modules.Contains("Zetbox.App.Base")) { XmlStreamer.ToStream(this.Proxy.RelationEnd != null ? this.Proxy.RelationEnd.ExportGuid : (Guid?)null, xml, "RelationEnd", "Zetbox.App.Base"); } }
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.CompoundObjectDefinition != null ? this.Proxy.CompoundObjectDefinition.ExportGuid : (Guid?)null, xml, "CompoundObjectDefinition", "Zetbox.App.Base"); } if (modules.Contains("*") || modules.Contains("Zetbox.App.Base")) { XmlStreamer.ToStream(this.Proxy.HasPersistentOrder, xml, "HasPersistentOrder", "Zetbox.App.Base"); } if (modules.Contains("*") || modules.Contains("Zetbox.App.Base")) { XmlStreamer.ToStream(this.Proxy.IsList, xml, "IsList", "Zetbox.App.Base"); } }
public virtual void Export(System.Xml.XmlWriter xml, string[] modules) { xml.WriteAttributeString("ExportGuid", this._ExportGuid.ToString()); // 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(Blob != null ? Blob.ExportGuid : (Guid?)null, xml, "Blob", "Zetbox.App.GUI"); } if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI")) { XmlStreamer.ToStream(this._IconFile, xml, "IconFile", "Zetbox.App.GUI"); } if (modules.Contains("*") || modules.Contains("Zetbox.App.GUI")) { XmlStreamer.ToStream(Module != null ? Module.ExportGuid : (Guid?)null, xml, "Module", "Zetbox.App.GUI"); } }
public virtual void MergeImport(System.Xml.XmlReader 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|ChangedOn": // Import must have default value set this._ChangedOn = XmlStreamer.ReadDateTime(xml); this._isChangedOnSet = true; break; case "Zetbox.App.Base|CreatedOn": // Import must have default value set this._CreatedOn = XmlStreamer.ReadDateTime(xml); this._isCreatedOnSet = true; break; case "Zetbox.App.Base|ExportGuid": // Import must have default value set this._ExportGuid = XmlStreamer.ReadGuid(xml); this._isExportGuidSet = true; break; case "Zetbox.App.Base|MimeType": this._MimeType = XmlStreamer.ReadString(xml); break; case "Zetbox.App.Base|OriginalName": this._OriginalName = XmlStreamer.ReadString(xml); break; case "Zetbox.App.Base|StoragePath": this._StoragePath = 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.Base|CompoundObjectDefinition": this._fk_guid_CompoundObjectDefinition = XmlStreamer.ReadNullableGuid(xml); break; case "Zetbox.App.Base|HasPersistentOrder": this.Proxy.HasPersistentOrder = XmlStreamer.ReadBoolean(xml); break; case "Zetbox.App.Base|IsList": this.Proxy.IsList = XmlStreamer.ReadBoolean(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|IsCurrentMonthDefault": this._IsCurrentMonthDefault = XmlStreamer.ReadNullableBoolean(xml); break; case "Zetbox.App.GUI|IsCurrentQuaterDefault": this._IsCurrentQuaterDefault = XmlStreamer.ReadNullableBoolean(xml); break; case "Zetbox.App.GUI|IsCurrentYearDefault": this._IsCurrentYearDefault = XmlStreamer.ReadNullableBoolean(xml); break; } }
public virtual void Export(System.Xml.XmlWriter xml, string[] modules) { xml.WriteAttributeString("ExportGuid", this.Proxy.ExportGuid.ToString()); // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } System.Diagnostics.Debug.Assert(this._isChangedOnSet, "Exported objects need to have all default values evaluated"); if (modules.Contains("*") || modules.Contains("Zetbox.App.Base")) { XmlStreamer.ToStream(this.Proxy.ChangedOn, xml, "ChangedOn", "Zetbox.App.Base"); } System.Diagnostics.Debug.Assert(this._isCreatedOnSet, "Exported objects need to have all default values evaluated"); if (modules.Contains("*") || modules.Contains("Zetbox.App.Base")) { XmlStreamer.ToStream(this.Proxy.CreatedOn, xml, "CreatedOn", "Zetbox.App.Base"); } if (modules.Contains("*") || modules.Contains("Zetbox.App.Base")) { XmlStreamer.ToStream(this.Proxy.Property != null ? this.Proxy.Property.ExportGuid : (Guid?)null, xml, "Property", "Zetbox.App.Base"); } }
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|EagerLoading": this.Proxy.EagerLoading = XmlStreamer.ReadBoolean(xml); break; case "Zetbox.App.GUI|IsInlineEditable": this.Proxy.IsInlineEditable = XmlStreamer.ReadNullableBoolean(xml); break; case "Zetbox.App.Base|RelationEnd": this._fk_guid_RelationEnd = XmlStreamer.ReadNullableGuid(xml); break; } }
public override IEnumerable <IPersistenceObject> FromStream(System.Xml.XmlReader xml) { var baseResult = base.FromStream(xml); switch (xml.NamespaceURI + "|" + xml.LocalName) { case "Zetbox.App.Test|MyIntProperty": this._MyIntProperty = XmlStreamer.ReadNullableInt32(xml); break; case "http://dasz.at/Zetbox|ObjectProp": this._fk_ObjectProp = XmlStreamer.ReadNullableInt32(xml); break; case "Zetbox.App.Test|StringProp": this._StringProp = XmlStreamer.ReadString(xml); break; case "Zetbox.App.Test|TestEnumProp": this.TestEnumProp = (Zetbox.App.Test.TestEnum)XmlStreamer.ReadInt32(xml); break; } return(baseResult); }
public virtual void MergeImport(System.Xml.XmlReader 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.Test|Any": XmlStreamer.FromStream(this.AnyImpl, xml); break; case "Zetbox.App.Test|DisplayName": this._DisplayName = XmlStreamer.ReadString(xml); break; case "Zetbox.App.Test|ExportGuid": // Import must have default value set this._ExportGuid = XmlStreamer.ReadGuid(xml); this._isExportGuidSet = true; break; } }
public virtual void MergeImport(System.Xml.XmlReader 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|ExportGuid": // Import must have default value set this._ExportGuid = XmlStreamer.ReadGuid(xml); this._isExportGuidSet = true; break; case "Zetbox.App.Base|Module": this._fk_guid_Module = XmlStreamer.ReadNullableGuid(xml); break; case "Zetbox.App.Base|Name": this._Name = XmlStreamer.ReadString(xml); break; } }
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._isHasPersistentOrderSet, "Exported objects need to have all default values evaluated"); if (modules.Contains("*") || modules.Contains("Zetbox.App.Base")) { XmlStreamer.ToStream(this._HasPersistentOrder, xml, "HasPersistentOrder", "Zetbox.App.Base"); } System.Diagnostics.Debug.Assert(this._isIsCalculatedSet, "Exported objects need to have all default values evaluated"); if (modules.Contains("*") || modules.Contains("Zetbox.App.Base")) { XmlStreamer.ToStream(this._IsCalculated, xml, "IsCalculated", "Zetbox.App.Base"); } System.Diagnostics.Debug.Assert(this._isIsListSet, "Exported objects need to have all default values evaluated"); if (modules.Contains("*") || modules.Contains("Zetbox.App.Base")) { XmlStreamer.ToStream(this._IsList, xml, "IsList", "Zetbox.App.Base"); } }
public virtual void MergeImport(System.Xml.XmlReader xml) { // it may be only an empty shell to stand-in for unreadable data if (!CurrentAccessRights.HasReadRights()) { return; } switch (xml.NamespaceURI + "|" + xml.LocalName) { case "at.dasz.DocumentManagement|ChangedOn": // Import must have default value set this._ChangedOn = XmlStreamer.ReadDateTime(xml); this._isChangedOnSet = true; break; case "at.dasz.DocumentManagement|CreatedOn": // Import must have default value set this._CreatedOn = XmlStreamer.ReadDateTime(xml); this._isCreatedOnSet = true; break; case "at.dasz.DocumentManagement|ExportGuid": // Import must have default value set this._ExportGuid = XmlStreamer.ReadGuid(xml); this._isExportGuidSet = true; break; case "at.dasz.DocumentManagement|MachineName": this._MachineName = XmlStreamer.ReadString(xml); break; case "at.dasz.DocumentManagement|PickupDirectory": this._PickupDirectory = XmlStreamer.ReadString(xml); break; } }
public virtual void MergeImport(System.Xml.XmlReader 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|ControlKind": this._fk_guid_ControlKind = XmlStreamer.ReadNullableGuid(xml); break; case "Zetbox.App.GUI|ControlRef": this._fk_guid_ControlRef = XmlStreamer.ReadNullableGuid(xml); break; case "Zetbox.App.GUI|ExportGuid": // Import must have default value set this._ExportGuid = XmlStreamer.ReadGuid(xml); this._isExportGuidSet = true; break; case "Zetbox.App.GUI|Module": this._fk_guid_Module = XmlStreamer.ReadNullableGuid(xml); break; case "Zetbox.App.GUI|Toolkit": ((Zetbox.App.GUI.ViewDescriptor) this).Toolkit = (Zetbox.App.GUI.Toolkit)XmlStreamer.ReadNullableInt32(xml); break; } }
public void setXmlStreamer(XmlStreamer xmlStreamer) { this.xmlStreamer = xmlStreamer; }
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": ((Zetbox.App.Base.DateTimeProperty) this).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.Calendar|DayOfWeek": ((Zetbox.App.Calendar.DayOfWeekCalendarRule) this).DayOfWeek = (Zetbox.App.Base.DayOfWeek)XmlStreamer.ReadNullableInt32(xml); break; } }