9 writes to batchState
System.Data.Services.Client (9)
System\Data\Services\Client\BatchStream.cs (9)
118
this.
batchState
= BatchStreamState.StartBatch;
421
this.
batchState
= BatchStreamState.EndBatch;
431
this.
batchState
= BatchStreamState.EndChangeSet;
438
this.
batchState
= BatchStreamState.EndChangeSet;
448
this.
batchState
= BatchStreamState.EndChangeSet;
580
this.
batchState
= BatchStreamState.BeginChangeSet;
1410
this.
batchState
= state;
1422
this.
batchState
= state;
1428
this.
batchState
= BatchStreamState.Post;
35 references to batchState
System.Data.Services.Client (35)
System\Data\Services\Client\BatchStream.cs (35)
148
get { return this.
batchState
; }
401
switch (this.
batchState
)
466
this.
batchState
== BatchStreamState.EndBatch ||
467
this.
batchState
== BatchStreamState.EndChangeSet,
489
Debug.Assert(this.
batchState
== BatchStreamState.EndChangeSet, "bad changeset boundary state");
496
if (BatchStreamState.EndChangeSet == this.
batchState
)
517
Debug.Assert(this.
batchState
== BatchStreamState.EndChangeSet, "bad changeset boundary state");
521
if (this.
batchState
!= BatchStreamState.EndBatch)
523
if (this.
batchState
== BatchStreamState.EndChangeSet)
572
else if (BatchStreamState.EndBatch == this.
batchState
)
640
if (this.
batchState
== BatchStreamState.BeginChangeSet)
647
this.
batchState
== BatchStreamState.Delete ||
648
this.
batchState
== BatchStreamState.Get ||
649
this.
batchState
== BatchStreamState.Post ||
650
this.
batchState
== BatchStreamState.Put ||
651
this.
batchState
== BatchStreamState.Merge,
658
if (this.
batchState
== BatchStreamState.EndBatch)
663
if (this.
batchState
!= BatchStreamState.BeginChangeSet)
672
this.
batchState
== BatchStreamState.BeginChangeSet ||
673
(this.batchRequest && (this.
batchState
== BatchStreamState.Delete ||
674
this.
batchState
== BatchStreamState.Get ||
675
this.
batchState
== BatchStreamState.Post ||
676
this.
batchState
== BatchStreamState.Put ||
677
this.
batchState
== BatchStreamState.Merge)) ||
678
(!this.batchRequest && (this.
batchState
== BatchStreamState.GetResponse ||
679
this.
batchState
== BatchStreamState.ChangeResponse)),
685
switch (this.
batchState
)
699
throw Error.BatchStreamContentExpected(this.
batchState
);
707
switch (this.
batchState
)
722
throw Error.BatchStreamContentUnexpected(this.
batchState
);
1393
state = (BatchStreamState.EndBatch == this.
batchState
) ? BatchStreamState.GetResponse : BatchStreamState.ChangeResponse;
1401
BatchStreamState.EndBatch == this.
batchState
||
1402
BatchStreamState.EndChangeSet == this.
batchState
,
1405
if (this.
batchState
== BatchStreamState.EndBatch)
1417
else if (this.
batchState
== BatchStreamState.EndChangeSet)