public static void AddOperState(int?operationId, OperStates state) { if (operationId != null && operationId > 0) { SqlWorks.ExecProc("AddOperState", operationId, (int)state); } }
protected void AddOperState(OperStates state) { if (Id != null && Id.Value > 0) { if (!isPluginTestingMode) { SqlWorks.ExecProc("AddOperState", Id, (int)state); } } }
protected override HCUndoList GetUndoList() { if (OperStates.Contain(HCOperState.hosLoading)) { return(null); } else { return(base.GetUndoList()); } }