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.ReadNullableGuid(); this._isNullableWithDefaultSet = binStream.ReadBoolean(); if (this._isNullableWithDefaultSet) { this._NullableWithDefault = binStream.ReadNullableGuid(); } this._Standard = binStream.ReadGuid(); this._isStandardWithDefaultSet = binStream.ReadBoolean(); if (this._isStandardWithDefaultSet) { this._StandardWithDefault = binStream.ReadGuid(); } } // 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._ObjClass = binStream.ReadNullableGuid(); this._ObjGuid = binStream.ReadNullableGuid(); this._ObjID = 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._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); }