Пример #1
0
        private void AddCheckConstraint(string name, string description, INamedTypeSymbol resourceType, IPropertySymbol resourceProperty, string message)
        {
            var document = ModelMapper.AddCheckConstraint(name, description, resourceType, resourceProperty, message);

            TryApplyChanges(document);
            NavigatableMarker = ModelMapper.CreateNavigatableMarker(ModelMapper.NodeKind.CheckConstraint, ModelMapper.ModelType, name);
        }