diff --git a/vNext/src/BetterModules.Core/DataAccess/DefaultRepository.cs b/vNext/src/BetterModules.Core/DataAccess/DefaultRepository.cs index b107e35..306135d 100644 --- a/vNext/src/BetterModules.Core/DataAccess/DefaultRepository.cs +++ b/vNext/src/BetterModules.Core/DataAccess/DefaultRepository.cs @@ -99,6 +99,7 @@ public IQueryOver AsQueryOver() where TEntity : class return UnitOfWork.Session.QueryOver().Where(f => !f.IsDeleted); } + [Obsolete("Has performance issues, use AsQueryOver with alias.")] public IQueryOver AsQueryOver(Expression> alias) where TEntity : class, IEntity { if (alias != null) diff --git a/vNext/test/BetterModules.Core.Database.Tests/App_Data/Temp/BetterModulesTestsDataSet_215c7893-c5fc-47bc-afdf-f074f29e87b0.mdf b/vNext/test/BetterModules.Core.Database.Tests/App_Data/Temp/BetterModulesTestsDataSet_78cb3a91-eea7-4203-8537-ecbe6f6f3417.mdf similarity index 97% rename from vNext/test/BetterModules.Core.Database.Tests/App_Data/Temp/BetterModulesTestsDataSet_215c7893-c5fc-47bc-afdf-f074f29e87b0.mdf rename to vNext/test/BetterModules.Core.Database.Tests/App_Data/Temp/BetterModulesTestsDataSet_78cb3a91-eea7-4203-8537-ecbe6f6f3417.mdf index 1299c84..1c4476f 100644 Binary files a/vNext/test/BetterModules.Core.Database.Tests/App_Data/Temp/BetterModulesTestsDataSet_215c7893-c5fc-47bc-afdf-f074f29e87b0.mdf and b/vNext/test/BetterModules.Core.Database.Tests/App_Data/Temp/BetterModulesTestsDataSet_78cb3a91-eea7-4203-8537-ecbe6f6f3417.mdf differ diff --git a/vNext/test/BetterModules.Core.Database.Tests/App_Data/Temp/BetterModulesTestsDataSet_215c7893-c5fc-47bc-afdf-f074f29e87b0_log.ldf b/vNext/test/BetterModules.Core.Database.Tests/App_Data/Temp/BetterModulesTestsDataSet_78cb3a91-eea7-4203-8537-ecbe6f6f3417_log.ldf similarity index 66% rename from vNext/test/BetterModules.Core.Database.Tests/App_Data/Temp/BetterModulesTestsDataSet_215c7893-c5fc-47bc-afdf-f074f29e87b0_log.ldf rename to vNext/test/BetterModules.Core.Database.Tests/App_Data/Temp/BetterModulesTestsDataSet_78cb3a91-eea7-4203-8537-ecbe6f6f3417_log.ldf index a7fee1f..9021d18 100644 Binary files a/vNext/test/BetterModules.Core.Database.Tests/App_Data/Temp/BetterModulesTestsDataSet_215c7893-c5fc-47bc-afdf-f074f29e87b0_log.ldf and b/vNext/test/BetterModules.Core.Database.Tests/App_Data/Temp/BetterModulesTestsDataSet_78cb3a91-eea7-4203-8537-ecbe6f6f3417_log.ldf differ