예제 #1
0
 /// <summary>
 /// 创建BuildDAL对象
 /// </summary>
 /// <param name="type"></param>
 /// <returns></returns>
 public static IBuildDAL CreateBuildDAL(string type)
 {
     IBuildDAL buildDAL = null;
     switch (type)
     {
         case "ROMOSS":
             buildDAL = new BuildDAL_ROMOSS();
             break;
         case "NoSQLHelper":
             buildDAL = new BuildDAL_NoSQLHelper();
             break;
         default:
             buildDAL = new BuildDAL_Null();
             break;
     }
     return buildDAL;
 }
예제 #2
0
 public BuildBLL()
     : base(_Type)
 {
     this._Dal = base.CurrentDAL as IBuildDAL;
 }