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