diff --git a/src/AgileConfig.Server.Data.Entity/AgileConfig.Server.Data.Entity.csproj b/src/AgileConfig.Server.Data.Entity/AgileConfig.Server.Data.Entity.csproj index f0a576df..72e94300 100644 --- a/src/AgileConfig.Server.Data.Entity/AgileConfig.Server.Data.Entity.csproj +++ b/src/AgileConfig.Server.Data.Entity/AgileConfig.Server.Data.Entity.csproj @@ -6,7 +6,7 @@ - + diff --git a/src/AgileConfig.Server.Data.Mongodb/AgileConfig.Server.Data.Mongodb.csproj b/src/AgileConfig.Server.Data.Mongodb/AgileConfig.Server.Data.Mongodb.csproj index dc28253b..23e3ca94 100644 --- a/src/AgileConfig.Server.Data.Mongodb/AgileConfig.Server.Data.Mongodb.csproj +++ b/src/AgileConfig.Server.Data.Mongodb/AgileConfig.Server.Data.Mongodb.csproj @@ -9,8 +9,8 @@ - - + + diff --git a/src/AgileConfig.Server.Data.Mongodb/MongodbAccess.cs b/src/AgileConfig.Server.Data.Mongodb/MongodbAccess.cs index efa67da0..e23fdd27 100644 --- a/src/AgileConfig.Server.Data.Mongodb/MongodbAccess.cs +++ b/src/AgileConfig.Server.Data.Mongodb/MongodbAccess.cs @@ -65,6 +65,6 @@ public sealed class MongodbAccess(string? connectionString) : MongodbAccess(c /// 获取 提供对MongoDB数据查询的Queryable /// /// - public IMongoQueryable MongoQueryable => Database.GetCollection(CollectionName).AsQueryable( + public IQueryable MongoQueryable => Database.GetCollection(CollectionName).AsQueryable( new AggregateOptions { AllowDiskUse = true }); } \ No newline at end of file