public DataTable QuerySwitch(QueryType QT,
                                     ArrayList ParameterList
                                     )
        {
            DBO.SYS_BusDocumentMetaDBO BusDocumentMeta = new SYS_BusDocumentMetaDBO(ref USEDB);
            DataTable Dt;

            try
            {
                switch (QT)
                {
                    case QueryType.ALL:
                        Dt = BusDocumentMeta.doQueryAll();
                        break;
                    case QueryType.CODE:
                        Dt = BusDocumentMeta.doQueryByCode(ParameterList);
                        break;
                    case QueryType.ID:
                        Dt = BusDocumentMeta.doQueryByID(ParameterList);
                        break;
                    case QueryType.Custom:
                        Dt = BusDocumentMeta.doQueryByFind(ParameterList);
                        break;
                    default:
                        Dt = new DataTable();
                        break;
                }

                return Dt;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
 public DataTable QueryBusDocumentMetaByALL()
 {
     try
     {
         DBO.SYS_BusDocumentMetaDBO User = new SYS_BusDocumentMetaDBO(ref USEDB);
         return User.doQueryAll();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }