Exemple #1
0
		public void UpdateAdminSchema(AUSchema schema)
		{
			CheckSupervisior();

			AUSchemaExecutor executor = new Executors.AUSchemaExecutor(AUOperationType.UpdateAdminSchema, schema);

			ExecuteWithActions(AUOperationType.UpdateAdminSchema, () => SCActionContext.Current.DoActions(() =>
			{
				executor.Execute();
			}));
		}
Exemple #2
0
		public void DeleteAdminSchema(AUSchema schema)
		{
			CheckSupervisior();

			AUSchemaExecutor executor = new Executors.AUSchemaExecutor(AUOperationType.RemoveAdminSchema, schema);

			schema.Status = SchemaObjectStatus.Deleted;

			ExecuteWithActions(AUOperationType.RemoveAdminSchema, () => SCActionContext.Current.DoActions(() =>
			{
				executor.Execute();
			}));
		}