public static void Delete(IDynamicDefinition definition) { var dir = Path.Combine(ModelsFacade.RootPath, definition.Name); C1Directory.Delete(dir, true); foreach (var submitHandler in definition.SubmitHandlers) { submitHandler.Delete(definition); } ModelsFacade.NotifyFormChanges(); }
public virtual void Save(IDynamicDefinition form) { ModelsFacade.NotifyFormChanges(); }