diff --git a/src/Documents/Session/InMemoryDocumentSessionOperations.ts b/src/Documents/Session/InMemoryDocumentSessionOperations.ts index 752059bd..9edc5061 100644 --- a/src/Documents/Session/InMemoryDocumentSessionOperations.ts +++ b/src/Documents/Session/InMemoryDocumentSessionOperations.ts @@ -1378,7 +1378,7 @@ export abstract class InMemoryDocumentSessionOperations this._rememberEntityForDocumentIdGeneration(entity); } } else { - this.generateEntityIdOnTheClient.trySetIdentity(entity, id); + this._generateEntityIdOnTheClient.trySetIdentity(entity, id); } const cmdKey = IdTypeAndName.keyFor(id, "ClientAnyCommand", null);