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