Shannon Deminick
aa574ac32f
Merged with 6.0 and fixed a couple merge issues
2012-12-11 23:19:07 +05:00
Shannon Deminick
cfa8fc2bba
Removed the uow ctor from the SaveEventArgs for testing as the test will still prove that
...
multi-threading works with the services without proving access to a single uow, the db will error first anyways.
2012-12-11 22:56:34 +05:00
Shannon Deminick
feff68ada8
Refactor new Services for thread safety, plus unit tests. Not all services are updated to be correct, only the
...
ContentService, the rest need to be updated as well.
2012-12-11 12:03:36 +05:00
Shannon Deminick
c9f40a74de
Changed all data services to create one repository type in the constructor instead of resolving
...
them in each method since they are only supposed to be using their single unit of work anyways (resolving
will return the same repository anyways, but in some cases it might have been with a different UOW)
Removed SetUnitOfWork method on IRepository as this is not needed.
Removed the old implementation of RepositoryResolver and replaces it with the RepositoryInstanceResolver (but
maintained the name of RepositoryResolver)
2012-12-10 02:58:23 +05:00
Shannon Deminick
f55d639514
Simplifies the ResolveByType so that it only requires the one interface, this is done by adding a new non-generic
...
IRepository interface.
2012-12-09 09:21:26 +05:00
Morten Christensen
0613a422fb
Adding events and audit trail for LocalizationService
2012-12-10 14:53:36 -01:00
Morten Christensen
190cdaacb5
Adding events and audit trail to MediaService
2012-12-10 14:28:46 -01:00
Morten Christensen
fc188b6c8a
Adding events and audit trail to ContentTypeService
2012-12-10 12:47:36 -01:00
Morten Christensen
5472e979a0
Adding audit trail to methods in the ContentService
2012-12-10 10:57:51 -01:00
Morten Christensen
1053492a29
Freedom Friday POC of native code first - limited to test project.
...
Making a few corrections to the serialization attributes after having tested ContentType Serialization.
Enabling bulk saving of new ContentTypes with Parent/Composition dependencies.
2012-11-23 19:58:19 -01:00
Morten Christensen
f11dc7f3cd
Correcting a few methods in the DataTypeService.
...
Adding publish = false in save methods, to ensure that Published isn't set to true.
2012-11-21 17:38:54 -01:00
Morten Christensen
52d65106f5
Correcting issues after running unit tests
2012-11-14 13:27:34 -01:00
Morten Christensen
9cb12fa3c0
Adding events to the ContentService
2012-11-14 11:20:21 -01:00
Morten Christensen
5540959e71
Correcting ability to set guid Key, as it was overwritten when saving.
...
Adding unit tests to verify get/set Key.
Adding unit tests to verify GetById with guid Key.
Adding overload to GetById with guid Key to supplement the int Id.
2012-11-13 19:07:43 -01:00
Morten Christensen
c9c160bc29
Adding unit test for saving bulk content, and adding lazy collection save overload.
...
Adding AuditTrail class and test case.
2012-11-13 14:30:05 -01:00
Morten Christensen
50dc9f2b7b
Resolving UserService usage in ContentService to set Creator/Writer.
...
Adding audit class for future implementation.
2012-11-12 08:39:29 -01:00
Morten Christensen
00e3f16d30
A few corrections after running the unit tests
2012-11-12 08:00:51 -01:00
Morten Christensen
a4d4411cca
Moving services from Web proj to Core proj.
2012-11-12 07:40:11 -01:00