Exago .NET API Documentation
ClonedFrom Property
WebReports.Api.Reports Namespace > Entity Class : ClonedFrom Property
If this Entity (Data Object) is a clone of another one, this property must contain the name of the "parent" object from which this one was cloned. When creating a cloned data object, this property must be set otherwise the system will not recognize it as a clone.
public System.string ClonedFrom {get; set;}
Clone a Data Object
Entity original = api.SetupData.Entities.GetEntity("originalEntityId");

Entity clone = orignal.Clone();
clone.ClonedFrom = "originalEntityId"); 
clone.Id = "uniqueId";
clone.Alias = "uniqueAlias";
clone.Description = "Clone Description";
clone.HasInheritedDescription = false;
clone.HasInheritedCategory = true;
See Also


Entity Class
Entity Members