Adds Relation and RelationType factories U4-987 and U4-986
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Umbraco.Core.Models
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
[DataContract(IsReference = true)]
|
||||
public class Relation : Entity
|
||||
public class Relation : Entity, IAggregateRoot
|
||||
{
|
||||
//NOTE: The datetime column from umbracoRelation is set on CreateDate on the Entity
|
||||
private int _parentId;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Umbraco.Core.Models
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
[DataContract(IsReference = true)]
|
||||
public class RelationType : Entity
|
||||
public class RelationType : Entity, IAggregateRoot
|
||||
{
|
||||
private string _name;
|
||||
private string _alias;
|
||||
|
||||
Reference in New Issue
Block a user