public static List <ParkOrder> GetOrderByIORecordIDByStatus(string iorecordID, int status, out string errorMsg) { if (iorecordID.IsEmpty()) { throw new ArgumentNullException("iorecordID"); } IParkOrder factory = ParkOrderFactory.GetFactory(); return(factory.GetOrderByIORecordIDByStatus(iorecordID, status, out errorMsg)); }