Exemplo n.º 1
0
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     this._Frage = binStream.ReadString();
     binStream.Read(out this._fk_Fragebogen);
     this._gute_Antworten_pos = binStream.ReadNullableInt32();
     this._FragenNummer = binStream.ReadInt32();
     this._GegebeneAntwort = binStream.ReadNullableInt32();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
Exemplo n.º 2
0
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     this._isExportGuidSet = binStream.ReadBoolean();
     if (this._isExportGuidSet) {
         this._ExportGuid = binStream.ReadGuid();
     }
     binStream.Read(out this._fk_Module);
     this._Name = binStream.ReadString();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     this._AreaCode = binStream.ReadString();
     this._Number = binStream.ReadString();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     this._fk_ControlKind = binStream.ReadNullableInt32();
     this._ControlTypeRef = binStream.ReadString();
     this._isDeletedSet = binStream.ReadBoolean();
     if (this._isDeletedSet) {
         this._Deleted = binStream.ReadBoolean();
     }
     this._isExportGuidSet = binStream.ReadBoolean();
     if (this._isExportGuidSet) {
         this._ExportGuid = binStream.ReadGuid();
     }
     this._fk_Module = binStream.ReadNullableInt32();
     this._Toolkit = (Zetbox.App.GUI.Toolkit)binStream.ReadNullableInt32();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
Exemplo n.º 5
0
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     this._TestBool = binStream.ReadNullableBoolean();
     binStream.Read(out this._fk_TestCustomObjects_Nav);
     binStream.Read(out this._fk_TestCustomObjects_One_Nav);
     this._TestDateTime = binStream.ReadNullableDateTime();
     _TestEnum = (Zetbox.App.Test.TestEnum)binStream.ReadNullableInt32();
     this._TestString = binStream.ReadString();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     {
         // use backing store to avoid notifications
         this.AnyImpl = binStream.ReadCompoundObject<Zetbox.App.Base.AnyReferenceEfImpl>();
         this.AnyImpl.AttachToObject(this, "Any");
     }
     this._DisplayName = binStream.ReadString();
     this._isExportGuidSet = binStream.ReadBoolean();
     if (this._isExportGuidSet) {
         this._ExportGuid = binStream.ReadGuid();
     }
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
Exemplo n.º 7
0
        public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
        {
            var baseResult = base.FromStream(binStream);
            var result = new List<IPersistenceObject>();
            // it may be only an empty shell to stand-in for unreadable data
            if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
            this._CategoryTags = binStream.ReadString();
            binStream.Read(out this._fk_ChangedBy);
            this._isChangedOnSet = binStream.ReadBoolean();
            if (this._isChangedOnSet) {
                this._ChangedOn = binStream.ReadDateTime();
            }
            this._CodeTemplate = binStream.ReadString();

            Constraints_was_eagerLoaded = binStream.ReadBoolean();
            {
                bool containsList = binStream.ReadBoolean();
                if (containsList)
                {
                    int numElements = binStream.ReadInt32();
                    ConstraintsIds = new List<int>(numElements);
                    while (numElements-- > 0) 
                    {
                        int id = binStream.ReadInt32();
                        ConstraintsIds.Add(id);
                    }
                }
            }
            binStream.Read(out this._fk_CreatedBy);
            this._isCreatedOnSet = binStream.ReadBoolean();
            if (this._isCreatedOnSet) {
                this._CreatedOn = binStream.ReadDateTime();
            }
            binStream.Read(out this._fk_DefaultValue);
            this._Description = binStream.ReadString();
            this._DisableExport = binStream.ReadNullableBoolean();
            this._isExportGuidSet = binStream.ReadBoolean();
            if (this._isExportGuidSet) {
                this._ExportGuid = binStream.ReadGuid();
            }
            binStream.Read(out this._fk_FilterConfiguration);
            this._Label = binStream.ReadString();
            binStream.Read(out this._fk_Module);
            this._Name = binStream.ReadString();
            binStream.Read(out this._fk_ObjectClass);
            this._Properties_pos = binStream.ReadNullableInt32();
            binStream.Read(out this._fk_RequestedKind);
            ((Zetbox.App.Base.Property)this).RequestedWidth = (Zetbox.App.GUI.WidthHint?)binStream.ReadNullableInt32();
            binStream.Read(out this._fk_ValueModelDescriptor);
            } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
            return baseResult == null
                ? result.Count == 0
                    ? null
                    : result
                : baseResult.Concat(result);
        }
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     binStream.Read(out this._fk_BaseObjectClass);
     this.Proxy.CodeTemplate = binStream.ReadString();
     binStream.Read(out this._fk_DefaultViewModelDescriptor);
     this._isIsAbstractSet = binStream.ReadBoolean();
     if (this._isIsAbstractSet) {
         this.Proxy.IsAbstract = binStream.ReadBoolean();
     }
     this._isIsCreatedProgrammaticallySet = binStream.ReadBoolean();
     if (this._isIsCreatedProgrammaticallySet) {
         this.Proxy.IsCreatedProgrammatically = binStream.ReadBoolean();
     }
     this._isIsFrozenObjectSet = binStream.ReadBoolean();
     if (this._isIsFrozenObjectSet) {
         this.Proxy.IsFrozenObject = binStream.ReadBoolean();
     }
     this._isIsSimpleObjectSet = binStream.ReadBoolean();
     if (this._isIsSimpleObjectSet) {
         this.Proxy.IsSimpleObject = binStream.ReadBoolean();
     }
     Proxy.TableMapping = (Zetbox.App.Base.TableMapping?)binStream.ReadNullableInt32();
     this.Proxy.TableName = binStream.ReadString();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
Exemplo n.º 9
0
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     this._Identity = binStream.ReadString();
     this._MessageFormat = binStream.ReadString();
     this._NewValue = binStream.ReadString();
     this._OldValue = binStream.ReadString();
     this._PropertyName = binStream.ReadString();
     this._isTimestampSet = binStream.ReadBoolean();
     if (this._isTimestampSet) {
         this._Timestamp = binStream.ReadNullableDateTime();
     }
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
Exemplo n.º 10
0
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     binStream.Read(out this._fk_ChangedBy);
     this._isChangedOnSet = binStream.ReadBoolean();
     if (this._isChangedOnSet) {
         this._ChangedOn = binStream.ReadDateTime();
     }
     binStream.Read(out this._fk_CreatedBy);
     this._isCreatedOnSet = binStream.ReadBoolean();
     if (this._isCreatedOnSet) {
         this._CreatedOn = binStream.ReadDateTime();
     }
     binStream.Read(out this._fk_Identity);
     this._Name = binStream.ReadString();
     binStream.Read(out this._fk_Parent);
     this._ParentName = binStream.ReadString();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     this._Birthday = binStream.ReadNullableDateTime();
     this._fk_MubBlah_Nav = binStream.ReadNullableInt32();
     this._fk_MuhBlah_One_Nav = binStream.ReadNullableInt32();
     this._PersonName = binStream.ReadString();
     {
         // use backing store to avoid notifications
         this.PhoneNumberMobileImpl = binStream.ReadCompoundObject<Zetbox.App.Test.TestPhoneCompoundObjectMemoryImpl>();
         this.PhoneNumberMobileImpl.AttachToObject(this, "PhoneNumberMobile");
     }
     {
         // use backing store to avoid notifications
         this.PhoneNumberOfficeImpl = binStream.ReadCompoundObject<Zetbox.App.Test.TestPhoneCompoundObjectMemoryImpl>();
         this.PhoneNumberOfficeImpl.AttachToObject(this, "PhoneNumberOffice");
     }
     binStream.ReadCollectionEntries(this, this._PhoneNumbersOtherCollection);
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     binStream.Read(out this._fk_DefaultDisplayKind);
     binStream.Read(out this._fk_DefaultEditorKind);
     binStream.Read(out this._fk_DefaultGridCellDisplayKind);
     binStream.Read(out this._fk_DefaultGridCellEditorKind);
     binStream.Read(out this._fk_DefaultGridCellPreEditorKind);
     this._isDeletedSet = binStream.ReadBoolean();
     if (this._isDeletedSet) {
         this._Deleted = binStream.ReadBoolean();
     }
     this._Description = binStream.ReadString();
     this._isExportGuidSet = binStream.ReadBoolean();
     if (this._isExportGuidSet) {
         this._ExportGuid = binStream.ReadGuid();
     }
     binStream.Read(out this._fk_Module);
     this._ViewModelTypeRef = binStream.ReadString();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
Exemplo n.º 13
0
        public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
        {
            var baseResult = base.FromStream(binStream);
            var result = new List<IPersistenceObject>();
            // it may be only an empty shell to stand-in for unreadable data
            if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
            binStream.Read(out this._fk_ChangedBy);
            this._isChangedOnSet = binStream.ReadBoolean();
            if (this._isChangedOnSet) {
                this._ChangedOn = binStream.ReadDateTime();
            }

            Constraints_was_eagerLoaded = binStream.ReadBoolean();
            {
                bool containsList = binStream.ReadBoolean();
                if (containsList)
                {
                    int numElements = binStream.ReadInt32();
                    ConstraintsIds = new List<int>(numElements);
                    while (numElements-- > 0) 
                    {
                        int id = binStream.ReadInt32();
                        ConstraintsIds.Add(id);
                    }
                }
            }
            binStream.Read(out this._fk_CreatedBy);
            this._isCreatedOnSet = binStream.ReadBoolean();
            if (this._isCreatedOnSet) {
                this._CreatedOn = binStream.ReadDateTime();
            }
            binStream.Read(out this._fk_DefaultIcon);
            this._Description = binStream.ReadString();
            this._isExportGuidSet = binStream.ReadBoolean();
            if (this._isExportGuidSet) {
                this._ExportGuid = binStream.ReadGuid();
            }

            Methods_was_eagerLoaded = binStream.ReadBoolean();
            {
                bool containsList = binStream.ReadBoolean();
                if (containsList)
                {
                    int numElements = binStream.ReadInt32();
                    MethodsIds = new List<int>(numElements);
                    while (numElements-- > 0) 
                    {
                        int id = binStream.ReadInt32();
                        MethodsIds.Add(id);
                    }
                }
            }
            binStream.Read(out this._fk_Module);
            this._Name = binStream.ReadString();

            Properties_was_eagerLoaded = binStream.ReadBoolean();
            {
                bool containsList = binStream.ReadBoolean();
                if (containsList)
                {
                    int numElements = binStream.ReadInt32();
                    PropertiesIds = new List<int>(numElements);
                    while (numElements-- > 0) 
                    {
                        int id = binStream.ReadInt32();
                        PropertiesIds.Add(id);
                    }
                }
            }
            binStream.Read(out this._fk_RequestedKind);
            this._isShowIconInListsSet = binStream.ReadBoolean();
            if (this._isShowIconInListsSet) {
                this._ShowIconInLists = binStream.ReadBoolean();
            }
            this._isShowIdInListsSet = binStream.ReadBoolean();
            if (this._isShowIdInListsSet) {
                this._ShowIdInLists = binStream.ReadBoolean();
            }
            this._isShowNameInListsSet = binStream.ReadBoolean();
            if (this._isShowNameInListsSet) {
                this._ShowNameInLists = binStream.ReadBoolean();
            }
            } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
            return baseResult == null
                ? result.Count == 0
                    ? null
                    : result
                : baseResult.Concat(result);
        }
Exemplo n.º 14
0
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     this._fk_DisplayedTypeAssembly = binStream.ReadNullableInt32();
     this._DisplayedTypeFullName = binStream.ReadString();
     this._DisplayName = binStream.ReadString();
     this._fk_VisualTree = binStream.ReadNullableInt32();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     this.Proxy.HasPersistentOrder = binStream.ReadBoolean();
     this.Proxy.ImplementorRoleName = binStream.ReadString();
     this.Proxy.IsList = binStream.ReadBoolean();
     this.Proxy.ItemRoleName = binStream.ReadString();
     binStream.Read(out this._fk_ReferencedObjectClass);
     this.Proxy.Verb = binStream.ReadString();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
Exemplo n.º 16
0
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     this._CalendarConfiguration = binStream.ReadString();
     this._DisplayName = binStream.ReadString();
     this._isIsDeactivatedSet = binStream.ReadBoolean();
     if (this._isIsDeactivatedSet) {
         this._IsDeactivated = binStream.ReadBoolean();
     }
     this._LoginToken = binStream.ReadNullableGuid();
     {
         // use backing store to avoid notifications
         this.OpenIDImpl = binStream.ReadCompoundObject<Zetbox.App.Base.OpenIDMemoryImpl>();
         this.OpenIDImpl.AttachToObject(this, "OpenID");
     }
     this._Password = binStream.ReadString();
     this._UserName = binStream.ReadString();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     this._AllowAddNew = binStream.ReadNullableBoolean();
     this._AllowDelete = binStream.ReadNullableBoolean();
     this._AllowSelectColumns = binStream.ReadNullableBoolean();
     this._AllowUserFilter = binStream.ReadNullableBoolean();
     this._EnableAutoFilter = binStream.ReadNullableBoolean();
     this._InitialSort = binStream.ReadString();
     ((Zetbox.App.GUI.NavigationSearchScreen)this).InitialSortDirection = (Zetbox.App.GUI.ListSortDirection?)binStream.ReadNullableInt32();
     this._IsEditable = binStream.ReadNullableBoolean();
     this._IsMultiselect = binStream.ReadNullableBoolean();
     this._fk_RequestedEditorKind = binStream.ReadNullableInt32();
     this._fk_RequestedWorkspaceKind = binStream.ReadNullableInt32();
     this._RespectRequiredFilter = binStream.ReadNullableBoolean();
     this._ShowFilter = binStream.ReadNullableBoolean();
     this._ShowMasterDetail = binStream.ReadNullableBoolean();
     this._ShowOpenCommand = binStream.ReadNullableBoolean();
     this._ShowRefreshCommand = binStream.ReadNullableBoolean();
     this._fk_Type = binStream.ReadNullableInt32();
     ((Zetbox.App.GUI.NavigationSearchScreen)this).ViewMethod = (Zetbox.App.GUI.InstanceListViewMethod?)binStream.ReadNullableInt32();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
Exemplo n.º 18
0
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     _CalculatedEnumeration = (Zetbox.App.Test.TestEnum)binStream.ReadNullableInt32();
     this._MyIntProperty = binStream.ReadNullableInt32();
     binStream.Read(out this._fk_ObjectProp);
     this._StringProp = binStream.ReadString();
     _TestEnumProp = (Zetbox.App.Test.TestEnum)binStream.ReadNullableInt32();
     this._isTestEnumWithDefaultSet = binStream.ReadBoolean();
     if (this._isTestEnumWithDefaultSet) {
         _TestEnumWithDefault = (Zetbox.App.Test.TestEnum)binStream.ReadNullableInt32();
     }
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
        public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
        {
            var baseResult = base.FromStream(binStream);
            var result = new List<IPersistenceObject>();
            // it may be only an empty shell to stand-in for unreadable data
            if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
            this._fk_ChangedBy = binStream.ReadNullableInt32();
            this._isChangedOnSet = binStream.ReadBoolean();
            if (this._isChangedOnSet) {
                this._ChangedOn = binStream.ReadDateTime();
            }
            this._Comment = binStream.ReadString();
            this._isCompareNullsSet = binStream.ReadBoolean();
            if (this._isCompareNullsSet) {
                this._CompareNulls = binStream.ReadBoolean();
            }
            this._fk_CreatedBy = binStream.ReadNullableInt32();
            this._isCreatedOnSet = binStream.ReadBoolean();
            if (this._isCreatedOnSet) {
                this._CreatedOn = binStream.ReadDateTime();
            }
            ((Zetbox.App.SchemaMigration.SourceColumn)this).DbType = (Zetbox.App.SchemaMigration.ColumnType)binStream.ReadNullableInt32();
            this._Description = binStream.ReadString();

            DestinationProperty_was_eagerLoaded = binStream.ReadBoolean();
            this._isExportGuidSet = binStream.ReadBoolean();
            if (this._isExportGuidSet) {
                this._ExportGuid = binStream.ReadGuid();
            }
            this._IsNullable = binStream.ReadNullableBoolean();
            this._Name = binStream.ReadString();
            this._fk_References = binStream.ReadNullableInt32();
            this._Size = binStream.ReadNullableInt32();
            this._fk_SourceTable = binStream.ReadNullableInt32();
            ((Zetbox.App.SchemaMigration.SourceColumn)this).Status = (Zetbox.App.SchemaMigration.MappingStatus?)binStream.ReadNullableInt32();
            } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
            return baseResult == null
                ? result.Count == 0
                    ? null
                    : result
                : baseResult.Concat(result);
        }
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     this.Proxy.Nullable = binStream.ReadString();
     this._isNullableWithDefaultSet = binStream.ReadBoolean();
     if (this._isNullableWithDefaultSet) {
         this.Proxy.NullableWithDefault = binStream.ReadString();
     }
     this.Proxy.Standard = binStream.ReadString();
     this._isStandardWithDefaultSet = binStream.ReadBoolean();
     if (this._isStandardWithDefaultSet) {
         this.Proxy.StandardWithDefault = binStream.ReadString();
     }
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
Exemplo n.º 21
0
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     binStream.Read(out this._fk_ChangedBy);
     this._isChangedOnSet = binStream.ReadBoolean();
     if (this._isChangedOnSet) {
         this._ChangedOn = binStream.ReadDateTime();
     }
     binStream.Read(out this._fk_CreatedBy);
     this._isCreatedOnSet = binStream.ReadBoolean();
     if (this._isCreatedOnSet) {
         this._CreatedOn = binStream.ReadDateTime();
     }
     _DeploymentRestriction = (Zetbox.App.Base.DeploymentRestriction?)binStream.ReadNullableInt32();
     this._Description = binStream.ReadString();
     this._isExportGuidSet = binStream.ReadBoolean();
     if (this._isExportGuidSet) {
         this._ExportGuid = binStream.ReadGuid();
     }
     binStream.Read(out this._fk_Module);
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
Exemplo n.º 22
0
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     {
         // use backing store to avoid notifications
         this.AttachedToImpl = binStream.ReadCompoundObject<Zetbox.App.Base.AnyReferenceMemoryImpl>();
         this.AttachedToImpl.AttachToObject(this, "AttachedTo");
     }
     this._fk_Blob = binStream.ReadNullableInt32();
     this._fk_ChangedBy = binStream.ReadNullableInt32();
     this._isChangedOnSet = binStream.ReadBoolean();
     if (this._isChangedOnSet) {
         this._ChangedOn = binStream.ReadDateTime();
     }
     this._fk_CreatedBy = binStream.ReadNullableInt32();
     this._isCreatedOnSet = binStream.ReadBoolean();
     if (this._isCreatedOnSet) {
         this._CreatedOn = binStream.ReadDateTime();
     }
     this._fk_Excerpt = binStream.ReadNullableInt32();
     this._isExportGuidSet = binStream.ReadBoolean();
     if (this._isExportGuidSet) {
         this._ExportGuid = binStream.ReadGuid();
     }
     this._isIsFileReadonlySet = binStream.ReadBoolean();
     if (this._isIsFileReadonlySet) {
         this._IsFileReadonly = binStream.ReadBoolean();
     }
     this._isKeepRevisionsSet = binStream.ReadBoolean();
     if (this._isKeepRevisionsSet) {
         this._KeepRevisions = binStream.ReadBoolean();
     }
     this._Name = binStream.ReadString();
     this._Tags = binStream.ReadString();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
        public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
        {
            var baseResult = base.FromStream(binStream);
            var result = new List<IPersistenceObject>();
            // it may be only an empty shell to stand-in for unreadable data
            if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
            this._fk_ChangedBy = binStream.ReadNullableInt32();
            this._isChangedOnSet = binStream.ReadBoolean();
            if (this._isChangedOnSet) {
                this._ChangedOn = binStream.ReadDateTime();
            }
            this._Color = binStream.ReadString();
            this._fk_CreatedBy = binStream.ReadNullableInt32();
            this._isCreatedOnSet = binStream.ReadBoolean();
            if (this._isCreatedOnSet) {
                this._CreatedOn = binStream.ReadDateTime();
            }
            this._isExportGuidSet = binStream.ReadBoolean();
            if (this._isExportGuidSet) {
                this._ExportGuid = binStream.ReadGuid();
            }

            Groups_was_eagerLoaded = binStream.ReadBoolean();
            this._fk_Module = binStream.ReadNullableInt32();
            this._fk_Parent = binStream.ReadNullableInt32();
            this._Children_pos = binStream.ReadNullableInt32();
            this._fk_RequestedKind = binStream.ReadNullableInt32();
            this._Title = binStream.ReadString();
            this._fk_ViewModelDescriptor = binStream.ReadNullableInt32();
            } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
            return baseResult == null
                ? result.Count == 0
                    ? null
                    : result
                : baseResult.Concat(result);
        }
Exemplo n.º 24
0
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     binStream.Read(out this._fk_Calendar);
     binStream.Read(out this._fk_ChangedBy);
     this._isChangedOnSet = binStream.ReadBoolean();
     if (this._isChangedOnSet) {
         this._ChangedOn = binStream.ReadDateTime();
     }
     binStream.Read(out this._fk_CreatedBy);
     this._isCreatedOnSet = binStream.ReadBoolean();
     if (this._isCreatedOnSet) {
         this._CreatedOn = binStream.ReadDateTime();
     }
     this._isExportGuidSet = binStream.ReadBoolean();
     if (this._isExportGuidSet) {
         this._ExportGuid = binStream.ReadGuid();
     }
     this._isIsWorkingDaySet = binStream.ReadBoolean();
     if (this._isIsWorkingDaySet) {
         this._IsWorkingDay = binStream.ReadBoolean();
     }
     binStream.Read(out this._fk_Module);
     this._Name = binStream.ReadString();
     this._ValidFrom = binStream.ReadNullableDateTime();
     this._ValidUntil = binStream.ReadNullableDateTime();
     this._WorkingHours = binStream.ReadDecimal();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
Exemplo n.º 25
0
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     binStream.Read(out this._fk_ChangedBy);
     this._isChangedOnSet = binStream.ReadBoolean();
     if (this._isChangedOnSet) {
         this._ChangedOn = binStream.ReadDateTime();
     }
     binStream.Read(out this._fk_CreatedBy);
     this._isCreatedOnSet = binStream.ReadBoolean();
     if (this._isCreatedOnSet) {
         this._CreatedOn = binStream.ReadDateTime();
     }
     this._Description = binStream.ReadString();
     this._isExportGuidSet = binStream.ReadBoolean();
     if (this._isExportGuidSet) {
         this._ExportGuid = binStream.ReadGuid();
     }
     this._HelpText = binStream.ReadString();
     this._IsList = binStream.ReadBoolean();
     this._isIsNullableSet = binStream.ReadBoolean();
     if (this._isIsNullableSet) {
         this._IsNullable = binStream.ReadBoolean();
     }
     this._IsReturnParameter = binStream.ReadBoolean();
     this._Label = binStream.ReadString();
     binStream.Read(out this._fk_Method);
     this._Parameter_pos = binStream.ReadNullableInt32();
     this._Name = binStream.ReadString();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     binStream.Read(out this._fk_FalseIcon);
     this.Proxy.FalseLabel = binStream.ReadString();
     binStream.Read(out this._fk_NullIcon);
     this.Proxy.NullLabel = binStream.ReadString();
     binStream.Read(out this._fk_TrueIcon);
     this.Proxy.TrueLabel = binStream.ReadString();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
Exemplo n.º 27
0
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     this._fk_AParent = binStream.ReadNullableInt32();
     this._fk_BParent = binStream.ReadNullableInt32();
     this._fk_ChangedBy = binStream.ReadNullableInt32();
     this._isChangedOnSet = binStream.ReadBoolean();
     if (this._isChangedOnSet) {
         this._ChangedOn = binStream.ReadDateTime();
     }
     this._fk_CreatedBy = binStream.ReadNullableInt32();
     this._isCreatedOnSet = binStream.ReadBoolean();
     if (this._isCreatedOnSet) {
         this._CreatedOn = binStream.ReadDateTime();
     }
     this._isExportGuidSet = binStream.ReadBoolean();
     if (this._isExportGuidSet) {
         this._ExportGuid = binStream.ReadGuid();
     }
     this._isHasPersistentOrderSet = binStream.ReadBoolean();
     if (this._isHasPersistentOrderSet) {
         this._HasPersistentOrder = binStream.ReadBoolean();
     }
     this._Multiplicity = (Zetbox.App.Base.Multiplicity)binStream.ReadNullableInt32();
     this._fk_Navigator = binStream.ReadNullableInt32();
     this._RoleName = binStream.ReadString();
     this._fk_Type = binStream.ReadNullableInt32();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
Exemplo n.º 28
0
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     this._Destination = binStream.ReadString();
     this._DestinationRows = binStream.ReadInt32();
     this._Source = binStream.ReadString();
     this._SourceRows = binStream.ReadInt32();
     this._Timestamp = binStream.ReadDateTime();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
Exemplo n.º 29
0
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     this._Aufwand = binStream.ReadNullableDouble();
     this._fk_ChangedBy = binStream.ReadNullableInt32();
     this._isChangedOnSet = binStream.ReadBoolean();
     if (this._isChangedOnSet) {
         this._ChangedOn = binStream.ReadDateTime();
     }
     this._fk_CreatedBy = binStream.ReadNullableInt32();
     this._isCreatedOnSet = binStream.ReadBoolean();
     if (this._isCreatedOnSet) {
         this._CreatedOn = binStream.ReadDateTime();
     }
     this._DatumBis = binStream.ReadNullableDateTime();
     this._DatumVon = binStream.ReadDateTime();
     this._isExportGuidSet = binStream.ReadBoolean();
     if (this._isExportGuidSet) {
         this._ExportGuid = binStream.ReadGuid();
     }
     this._Name = binStream.ReadString();
     this._fk_Projekt = binStream.ReadNullableInt32();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }
 public override IEnumerable<IPersistenceObject> FromStream(Zetbox.API.ZetboxStreamReader binStream)
 {
     var baseResult = base.FromStream(binStream);
     var result = new List<IPersistenceObject>();
     // it may be only an empty shell to stand-in for unreadable data
     if (CurrentAccessRights != Zetbox.API.AccessRights.None) {
     this._MyIntProperty = binStream.ReadNullableInt32();
     this._fk_ObjectProp = binStream.ReadNullableInt32();
     this._StringProp = binStream.ReadString();
     ((Zetbox.App.Test.TestObjClass)this).TestEnumProp = (Zetbox.App.Test.TestEnum)binStream.ReadNullableInt32();
     } // if (CurrentAccessRights != Zetbox.API.AccessRights.None)
     return baseResult == null
         ? result.Count == 0
             ? null
             : result
         : baseResult.Concat(result);
 }