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 = DefiningParametersSerializer.Serialize(parameters); var definingParametersHash = HashHelper.GenerateStringHash(definingParameters); using (OracleConnection connection = new OracleConnection(ConnectionString)) { WorkflowProcessScheme.SetObsolete(connection, schemeCode, definingParametersHash); WorkflowProcessScheme.Commit(connection); } }