Esempio n. 1
0
 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;
     }
 }
Esempio n. 2
0
 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;
     }
 }
Esempio n. 3
0
 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;
     }
 }
Esempio n. 4
0
 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);
 }
Esempio n. 5
0
 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);
     }
 }
Esempio n. 6
0
 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);
 }
Esempio n. 7
0
 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);
 }
Esempio n. 8
0
 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);
 }
Esempio n. 9
0
 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);
 }
Esempio n. 10
0
 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;
     }
 }
Esempio n. 11
0
 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);
 }
Esempio n. 12
0
 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);
 }
Esempio n. 13
0
 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);
 }
Esempio n. 14
0
 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);
 }
Esempio n. 15
0
 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");
     }
 }
Esempio n. 16
0
 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);
     }
 }
Esempio n. 17
0
 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");
     }
 }
Esempio n. 18
0
 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");
     }
 }
Esempio n. 19
0
 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);
 }
Esempio n. 20
0
 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");
     }
 }
Esempio n. 21
0
 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");
     }
 }
Esempio n. 22
0
        // 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);
        }
Esempio n. 23
0
        // 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);
            }
        }
Esempio n. 24
0
 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);
 }
Esempio n. 25
0
 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");
     }
 }
Esempio n. 26
0
        // 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);
        }
Esempio n. 27
0
 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;
     }
 }
Esempio n. 28
0
 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;
     }
 }
Esempio n. 29
0
 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;
     }
 }
Esempio n. 30
0
 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);
 }