Skip to content

Commit 512bd6c

Browse files
committed
add missing conventions property
1 parent 862df44 commit 512bd6c

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
@@ -161,6 +161,15 @@ export class DocumentConventions {
161161
this._remoteEntityFieldNameConvention = val;
162162
}
163163

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

0 commit comments

Comments
 (0)