diff --git a/src/ShardingCore/EFCores/ShardingModelCacheKeyFactory.cs b/src/ShardingCore/EFCores/ShardingModelCacheKeyFactory.cs index c7144dd8..89b2656f 100644 --- a/src/ShardingCore/EFCores/ShardingModelCacheKeyFactory.cs +++ b/src/ShardingCore/EFCores/ShardingModelCacheKeyFactory.cs @@ -16,10 +16,6 @@ namespace ShardingCore.EFCores public class ShardingModelCacheKeyFactory : IModelCacheKeyFactory { - public ShardingModelCacheKeyFactory() - { - Console.WriteLine("ShardingModelCacheKeyFactory"); - } public object Create(DbContext context) { return Create(context, false); diff --git a/src/ShardingCore/EFCores/ShardingQueryCompiler.cs b/src/ShardingCore/EFCores/ShardingQueryCompiler.cs index 7d13497f..abfacb80 100644 --- a/src/ShardingCore/EFCores/ShardingQueryCompiler.cs +++ b/src/ShardingCore/EFCores/ShardingQueryCompiler.cs @@ -29,7 +29,6 @@ namespace ShardingCore.EFCores { _shardingDbContext = currentContext.Context as IShardingDbContext ?? throw new ShardingCoreException("db context operator is not IShardingDbContext"); - Console.WriteLine("ShardingQueryCompiler"+shardingRuntimeContext.DbContextType); _shardingCompilerExecutor = shardingRuntimeContext.GetShardingCompilerExecutor(); }