File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -365,9 +365,9 @@ ColumnMapping CreateColumn(string column)
365365 return new ColumnMapping ( columnAttributes . CloneInner ( ) ) { Name = column } ;
366366 }
367367
368- public ManyToOneBuilder < TOther > OptimisticLock ( )
368+ public ManyToOnePart < TOther > OptimisticLock ( )
369369 {
370- mapping . OptimisticLock = nextBool ;
370+ attributes . Set ( x => x . OptimisticLock , nextBool ) ;
371371 nextBool = true ;
372372 return this ;
373373 }
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public override void ProcessManyToOne(ManyToOneMapping mapping)
6767 element . WithAtt ( "entity-name" , mapping . EntityName ) ;
6868
6969 if ( mapping . HasValue ( x => x . OptimisticLock ) )
70- element . WithAtt ( "optimstic -lock" , mapping . OptimisticLock ) ;
70+ element . WithAtt ( "optimistic -lock" , mapping . OptimisticLock ) ;
7171 }
7272
7373 public override void Visit ( ColumnMapping columnMapping )
You can’t perform that action at this time.
0 commit comments