示例#1
0
        private void InitDeploymentMetadata()
        {
            var deploymentMetadataJson =
                Handler.CompatibilityLevel >= 1400 && HasExtendedProperty(DM) ? GetExtendedProperty(DM) : GetAnnotation(DM);

            if (deploymentMetadataJson != null)
            {
                try
                {
                    DeploymentMetadata = JsonConvert.DeserializeObject <DeploymentMetadata>(deploymentMetadataJson);
                }
                catch { }
            }
        }
示例#2
0
 public void RemoveDeploymentMetadata()
 {
     DeploymentMetadata = null;
     UpdateDeploymentMetadata();
 }