File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Extensions/Mongo/Cosmos.DataTransfer.MongoLegacyExtension Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 2727 <PackageVersion Include =" Microsoft.Extensions.Logging.Console" Version =" 8.0.1" />
2828 <PackageVersion Include =" Microsoft.NET.Test.Sdk" Version =" 17.11.1" />
2929 <PackageVersion Include =" MongoDB.Driver" Version =" 2.30.0" />
30+ <PackageVersion Include =" mongocsharpdriver" Version =" 1.11.0" />
3031 <PackageVersion Include =" Moq" Version =" 4.18.4" />
3132 <PackageVersion Include =" MSTest.TestAdapter" Version =" 3.6.2" />
3233 <PackageVersion Include =" MSTest.TestFramework" Version =" 3.6.2" />
Original file line number Diff line number Diff line change 55 <ImplicitUsings >enable</ImplicitUsings >
66 <Nullable >enable</Nullable >
77 <OutputType >Exe</OutputType >
8+ <RuntimeIdentifiers >win-x64;linux-x64;osx-x64</RuntimeIdentifiers >
89 </PropertyGroup >
910
1011 <ItemGroup >
1112 <PackageReference Include =" Microsoft.Extensions.Configuration.Binder" />
12- <PackageReference Include =" MongoDB.Driver " Version = " 1.11.0 " />
13+ <PackageReference Include =" mongocsharpdriver " />
1314 <PackageReference Include =" System.ComponentModel.Composition" />
1415 </ItemGroup >
1516
Original file line number Diff line number Diff line change 11using System . Linq . Expressions ;
22using MongoDB . Driver ;
3+ using System . Linq ;
34
45namespace Cosmos . DataTransfer . MongoLegacyExtension ;
56
@@ -29,6 +30,6 @@ public async ValueTask AddRange(params TDocument[] items)
2930
3031 public IQueryable < TDocument > AsQueryable ( )
3132 {
32- return collection . AsQueryable ( ) ;
33+ return collection . FindAll ( ) . AsQueryable ( ) ;
3334 }
3435}
You can’t perform that action at this time.
0 commit comments