Skip to content

Commit 980f5a4

Browse files
committed
add missing conventions property
1 parent 7783a10 commit 980f5a4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Documents/Conventions/DocumentConventions.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,15 @@ export class DocumentConventions {
162162
this._remoteEntityFieldNameConvention = val;
163163
}
164164

165+
public set useOptimisticConcurrency(val) {
166+
this._assertNotFrozen();
167+
this._useOptimisticConcurrency = val;
168+
}
169+
170+
public get useOptimisticConcurrency() {
171+
return this._useOptimisticConcurrency;
172+
}
173+
165174
public deserializeEntityFromJson(documentType: ObjectTypeDescriptor, document: object): object {
166175
try {
167176
const typeName = documentType ? documentType.name : null;

0 commit comments

Comments
 (0)