www.pudn.com > WorkflowDesigner.rar > DO_AppInfo.cs, change:2008-03-26,size:1345b


using System; 
using System.Collections.Generic; 
using System.Text; 
using System.Data; 
using DataAccess; 
namespace Bussiness 
{ 
    public class DO_AppInfo 
    { 
        public DO_AppInfo() 
        {  
         
        } 
 
        //得到应用信息 
        public DataSet GetAllGroupInfo() 
        { 
            String strsql = "select t.* from dap_data_dict_item t where t.ref_type_id = 13"; 
            IDataAccess da = DataAccessFactory.CreateDataAccess(); 
            return da.ExecuteDataset(strsql); 
        } 
 
        public DataSet GetAllAppInfo() 
        { 
            String strsql = "select t.* from wfApplication  t order by rank"; 
            IDataAccess da = DataAccessFactory.CreateDataAccess(); 
            return da.ExecuteDataset(strsql); 
        } 
 
        public class obApp 
        { 
            //构造函数 
            public obApp() 
            {  
             
            } 
 
            //ID 
            private String _name; 
 
            public String Name 
            { 
                get { return _name; } 
                set { _name = value; } 
            } 
 
            private int _rank; 
 
            public int Rank 
            { 
                get { return _rank; } 
                set { _rank = value; } 
            } 
 
             
 
 
 
 
        } 
 
    } 
}