public virtual MainOrganization Clone() { var clone = new MainOrganization(Name); CopyTo(clone); return(clone); }
public void CopyTo(MainOrganization entity) { if (entity == null) { throw new ArgumentNullException(nameof(entity)); } entity.ArtifactNetwork = ArtifactNetwork.Clone(); entity.ModelNetwork = ModelNetwork.Clone(); entity.Models = Models.Clone(); entity.Murphies = Murphies.Clone(); entity.Communication = Communication; entity.Templates = Templates; }