partial void CopyExtraPropertiesToClone(ExternalSystemLink clone, bool includeLocalProperties);
public ExternalSystemLink Clone(bool includeLocalProperties) { var c = new ExternalSystemLink { AutoSelect = AutoSelect, Configuration = Configuration, ConfigurationComplete = ConfigurationComplete, DefectTrackerProjectId = DefectTrackerProjectId, EaPackageId = EaPackageId, Enabled = Enabled, ExternalSystem = ExternalSystem, ExternalSystemConnectionType = ExternalSystemConnectionType, ExternalSystemId = ExternalSystemId, ExternalSystemImplementationType = ExternalSystemImplementationType, ExternalSystemName = ExternalSystemName, Id = Id, InternalPackageName = InternalPackageName, LastDestinationToSourceSynchronizationAt = LastDestinationToSourceSynchronizationAt, LastSourceToDestinationSynchronizationAt = LastSourceToDestinationSynchronizationAt, LastSynchronizedAt = LastSynchronizedAt, Name = Name, ProjectId = ProjectId, ProjectName = ProjectName, RequirementPackageId = RequirementPackageId, TestExecutionPackageId = TestExecutionPackageId, TestScriptPackageId = TestScriptPackageId, Type = Type, TypeForDisplay = TypeForDisplay, ConfigurationProblems = ConfigurationProblems.ToList(), }; CopyExtraPropertiesToClone(c, includeLocalProperties); return c; }