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.MaxLength = binStream.ReadNullableInt32(); this.Proxy.MinLength = binStream.ReadInt32(); } // 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._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) { Antworten_was_eagerLoaded = binStream.ReadBoolean(); { bool containsList = binStream.ReadBoolean(); if (containsList) { int numElements = binStream.ReadInt32(); AntwortenIds = new List<int>(numElements); while (numElements-- > 0) { int id = binStream.ReadInt32(); AntwortenIds.Add(id); } } } this._BogenNummer = 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._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); }
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._fk_CreatedBy = binStream.ReadNullableInt32(); this._isCreatedOnSet = binStream.ReadBoolean(); if (this._isCreatedOnSet) { this._CreatedOn = binStream.ReadDateTime(); } this._Description = binStream.ReadString(); this._fk_Enumeration = binStream.ReadNullableInt32(); this._EnumerationEntries_pos = binStream.ReadNullableInt32(); this._isExportGuidSet = binStream.ReadBoolean(); if (this._isExportGuidSet) { this._ExportGuid = binStream.ReadGuid(); } this._Label = binStream.ReadString(); this._Name = binStream.ReadString(); this._Value = binStream.ReadInt32(); } // 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._Nullable = binStream.ReadNullableInt32(); this._isNullableWithDefaultSet = binStream.ReadBoolean(); if (this._isNullableWithDefaultSet) { this._NullableWithDefault = binStream.ReadNullableInt32(); } this._Standard = binStream.ReadInt32(); this._isStandardWithDefaultSet = binStream.ReadBoolean(); if (this._isStandardWithDefaultSet) { this._StandardWithDefault = binStream.ReadInt32(); } } // 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_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); }
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); }