Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Option to disable change tracking
- Loading branch information
Showing
4 changed files
with
135 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace Streamstone | ||
{ | ||
/// <summary> | ||
/// Represent set of possible options which can be used with stream write operation | ||
/// </summary> | ||
public class StreamWriteOptions | ||
{ | ||
internal static readonly StreamWriteOptions Default = new StreamWriteOptions(); | ||
|
||
/// <summary> | ||
/// Signals whether built-in entity change tracking should be used for includes. | ||
/// If set to <c>true</c> all included operations will be chained | ||
/// via built-in change tracker. Default is <c>true</c> | ||
/// </summary> | ||
/// <remarks> | ||
/// Entity change tracking is required during stream replays | ||
/// but could be disabled during normal writes. | ||
/// </remarks> | ||
public bool TrackChanges { get; set; } = true; | ||
} | ||
} |