public override Node MakeCopy(Node target, string newName)
{
var copy = base.MakeCopy(target, newName);
var version = copy.Version;
if (version.Status != VersionStatus.Locked)
return copy;
copy.Version = new VersionNumber(version.Major, version.Minor, version.IsMajor ? VersionStatus.Approved : VersionStatus.Draft);
return copy;
}
protected override void CopyDynamicProperties(Node target)