public void SetSchemeIsObsolete(string schemeCode) { using (MySqlConnection connection = new MySqlConnection(ConnectionString)) { WorkflowProcessScheme.SetObsolete(connection, schemeCode); } }
public void SetSchemeIsObsolete(string schemeCode, IDictionary <string, object> parameters) { var definingParameters = SerializeParameters(parameters); var definingParametersHash = HashHelper.GenerateStringHash(definingParameters); using (MySqlConnection connection = new MySqlConnection(ConnectionString)) { WorkflowProcessScheme.SetObsolete(connection, schemeCode, definingParametersHash); } }