示例#1
0
        public static Data.Interface.IWorkGroup GetWorkGroup()
        {
            Data.Interface.IWorkGroup iObj = null;

            switch (BizProcess.Utility.Config.DataBaseType)
            {
            case "MSSQL":
                iObj = new Data.MSSQL.WorkGroup();
                break;

            case "MYSQL":
                iObj = new Data.MySQL.WorkGroup();
                break;

            case "ORACLE":
            default:
                iObj = new Data.Oracle.WorkGroup();
                break;
            }
            return(iObj);
        }
示例#2
0
 public WorkGroup()
 {
     this.dataWorkGroup = Data.Factory.Platform.GetWorkGroupInstance();
 }