generated from SwissLife-OSS/template
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added missing AsTransaction* and code cleanup (#60)
* Added missing AsTransaction* and code cleanup - Added missing AsTransaction* internal calls - Fixed compilation warnings - Support for newer .NET SDKs * fix format * Align method names * Removed unused pragmas * Fix format Co-authored-by: Pascal Senn <[email protected]> Co-authored-by: Normen Scheiber <[email protected]>
- Loading branch information
1 parent
8f2f2c2
commit 7bdccc0
Showing
7 changed files
with
47 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"sdk": { | ||
"version": "6.0.100" | ||
"version": "6.0.100", | ||
"rollForward": "latestFeature" | ||
} | ||
} |
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
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,19 @@ | ||
using MongoDB.Driver; | ||
|
||
namespace MongoDB.Extensions.Transactions | ||
{ | ||
public class MongoTransactionFilteredCollection<T> | ||
: MongoTransactionCollection<T> | ||
, IFilteredMongoCollection<T> | ||
{ | ||
private readonly IFilteredMongoCollection<T> _filteredCollection; | ||
|
||
public MongoTransactionFilteredCollection(IFilteredMongoCollection<T> filteredCollection) | ||
: base(filteredCollection) | ||
{ | ||
_filteredCollection = filteredCollection; | ||
} | ||
|
||
public FilterDefinition<T> Filter => _filteredCollection.Filter; | ||
} | ||
} |
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