Stephan
365a01a476
From PetaPoco to NPoco ( #1207 )
...
* NPoco - 2.x (builds)
* NPoco - v3.1 (does not build)
* NPoco - builds
* NPoco - configure database factory (tests fail)
* Pick fix from 7.4
* NPoco - stock v3.1 - sort-of working
* NPoco - fix merge
* Fix Newtonsoft.Json in web.Template.Debug.config
* NPoco - fix SELECT *
* NPoco - fixing repositories
* NPoco - fix EntityRepository
* NPoco - fix EntityRepository
* NPoco - cosmetic
* NPoco - use 3.1.0-u001 from github/zpqrtbnk/NPoco
* Fixes build, NPoco needed to be referenced in the cms and UmbracoExamine projects
* Fixes lots of tests
* fixes more tests
* NPoco - bugfixing
* Bugfix CacheHelper in tests
* Bugfix connection mocking in tests
* NPoco - inject database in Sql.Select<>
* NPoco - discovery retry policy only once
* Enable C# 6 for Umbraco.Core
* NPoco - introduce UmbracoSql, cleanup
* NPoco - more cleanup and fixing
* NPoco - fix UserRepository
* Optimize InGroupsOf
* Implement UmbracoDatabase.FetchByGroups
* NPoco - fix Select
* NPoco - simplify GetPagedResultsByQuery
* Cherry-pick DisableBrowserCacheAttribute fix from 7.4
* Upgrade NPoco to use Sql<TContext>
* U4-8257 - cleanup relators
* 4-8257 - cleanup more relators
* Upgrade NPoco with more OOTB version
* fixes a couple tests, changes double check lock to Lazy<T>
2016-04-12 15:11:07 +02:00
Shannon
201512d5f2
Fixes :U4-6858 add localizationService.GetDictionaryItemDescendants, also obsoletes FlattenList since if used incorrectly could cause a flood of SQL calls, adds some tests to verify the output of SelectRecursive is in the same order and updates anything using FlattenList to SelectRecursive. Updates the Language repository to use GetAll wherever possible so all languages are simply cached, this means there less overall cache and less lookups. Updates the Dictionary repository to have less N+1 lookups when building the entity from the DTO by just looking up all languages instead of one at a time. Adds tests for getting descendants for dictionary items.
2015-07-22 12:10:21 +02:00
Shannon
46212904ef
Changes the SetPropertyValueAndDetectChanges to throw an exception if an Enumerable is passed in without using the overload the specifies an IEqualityComparer. Updates all entities that use this method with IEnumerables to specify the correct Equality comparer which now uses the new UnsortedSequenceEqual method. Added unit tests for new EnumerableExtensions and makes the ContainsAll work faster.
2015-03-05 17:08:58 +11:00
Shannon Deminick
cfe6ac0486
Merge with 6.0.6
2013-05-07 18:57:39 -10:00
Shannon Deminick
c52669fb05
Fixes: #U4-2094 - issue with duplicates in getting Descendants for media in mvc.
2013-05-07 18:56:24 -10:00
Shannon Deminick
7cc0f2a514
Fixes: #U4-1819
2013-03-05 05:56:53 +06:00
Shannon Deminick
2877b7bda4
Fixes: #U4-1819
2013-03-02 05:46:00 +06:00
Shannon Deminick
fe9f5b224a
Fixing really strange merge issues!
2013-03-02 03:34:37 +06:00
shannon@ShandemVaio
e131011667
Rename namespace from Umbraco.Core.Resolving to Umbraco.Core.ObjectResolution
2012-08-10 13:18:13 +06:00
shannon@ShandemVaio
5576f65ef0
Updated DataType factory to use PluginTypeResolver and made the dictionary thread safe.
...
Updated MacroEngineFactory to use PluginTypeResolver and made it thread safe. Have also
updated it to only create one instance of each IMacroEngine per application which should
increase performance a teeny bit, plus that's how it should be.
2012-07-27 11:54:29 +06:00
shannon@ShandemVaio
92f983a569
Removed Freezing event as we won't need it
2012-07-27 06:02:41 +06:00
shannon@ShandemVaio
8082abc27a
Added MultipleResolverBase
2012-07-27 05:52:01 +06:00
shannon@ShandemVaio
62d6db935d
Integrating v5 TypeFinder. Imported a few classes from v5 regarding utility classes and partial trust
...
unit test helper classes. Changed calls from old TypeFinder to new TypeFinder2. Created benchmark unit
tests to test speed differences between them.
Fixes: 30946 - IOHelper with HttpContext issue
Fixes: 30945 - AppCodeFileExtensions issue with UmbracoSettings
2012-07-26 21:12:54 +06:00
shannon@ShandemVaio
23b2899101
Imports many of the useful extension methods from v5 that are also used in umbraMVCo to begin the
...
MVC integration.
Imported the unit tests associated with each of these imported classes.
2012-07-17 03:51:34 +06:00