コード例 #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;
     }
 }
コード例 #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;
     }
 }
コード例 #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;
     }
 }
コード例 #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);
 }
コード例 #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);
     }
 }
コード例 #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);
 }
コード例 #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);
 }
コード例 #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);
 }
コード例 #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);
 }
コード例 #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;
     }
 }
コード例 #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);
 }
コード例 #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);
 }
コード例 #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);
 }
コード例 #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);
 }
コード例 #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");
     }
 }
コード例 #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);
     }
 }
コード例 #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");
     }
 }
コード例 #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");
     }
 }
コード例 #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);
 }
コード例 #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");
     }
 }
コード例 #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");
     }
 }
コード例 #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);
        }
コード例 #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);
            }
        }
コード例 #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);
 }
コード例 #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");
     }
 }
コード例 #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);
        }
コード例 #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;
     }
 }
コード例 #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;
     }
 }
コード例 #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;
     }
 }
コード例 #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);
 }