private void InitDeploymentMetadata() { var deploymentMetadataJson = Handler.CompatibilityLevel >= 1400 && HasExtendedProperty(DM) ? GetExtendedProperty(DM) : GetAnnotation(DM); if (deploymentMetadataJson != null) { try { DeploymentMetadata = JsonConvert.DeserializeObject <DeploymentMetadata>(deploymentMetadataJson); } catch { } } }
public void RemoveDeploymentMetadata() { DeploymentMetadata = null; UpdateDeploymentMetadata(); }