Manually merging a few changes to the ContentService, ContentFactory, ContentRepository and ContentExtensions to avoid a merge hell when pushing latest to the legacy refactor branch.
Current checkin has a few new failing tests due to recent changes, but a few should be resolved by adding a DataTypesResolver setup in the ContentServiceTests fixture.
This commit is contained in:
@@ -18,10 +18,11 @@ namespace Umbraco.Core.Models
|
||||
private RelationType _relationType;
|
||||
private string _comment;
|
||||
|
||||
public Relation(int parentId, int childId)
|
||||
public Relation(int parentId, int childId, RelationType relationType)
|
||||
{
|
||||
_parentId = parentId;
|
||||
_childId = childId;
|
||||
_relationType = relationType;
|
||||
}
|
||||
|
||||
private static readonly PropertyInfo ParentIdSelector = ExpressionHelper.GetPropertyInfo<Relation, int>(x => x.ParentId);
|
||||
|
||||
Reference in New Issue
Block a user