diff --git a/src/Squidex.Infrastructure/Orleans/GrainOfGuid{T}.cs b/src/Squidex.Infrastructure/Orleans/GrainOfGuid{T}.cs index 88d8edfc4..a1425a440 100644 --- a/src/Squidex.Infrastructure/Orleans/GrainOfGuid{T}.cs +++ b/src/Squidex.Infrastructure/Orleans/GrainOfGuid{T}.cs @@ -23,6 +23,11 @@ namespace Squidex.Domain.Apps.Entities.Apps.Indexes public Guid Key { get; private set; } + protected IPersistence Persistence + { + get { return persistence; } + } + protected GrainOfGuid(IStore store) { Guard.NotNull(store, nameof(store)); diff --git a/src/Squidex.Infrastructure/Orleans/GrainOfString{T}.cs b/src/Squidex.Infrastructure/Orleans/GrainOfString{T}.cs index 66564a5b3..fe540b74f 100644 --- a/src/Squidex.Infrastructure/Orleans/GrainOfString{T}.cs +++ b/src/Squidex.Infrastructure/Orleans/GrainOfString{T}.cs @@ -22,6 +22,11 @@ namespace Squidex.Domain.Apps.Entities.Apps.Indexes protected T State { get; set; } + protected IPersistence Persistence + { + get { return persistence; } + } + protected GrainOfString(IStore store) { Guard.NotNull(store, nameof(store));