public static DALProj GetInstance() { if (_dal == null) { _dal = new DALProj(); } return(_dal); }
public void CreateDALFiles() { DALProj dal = DALProj.GetInstance(); string dirDAL = _rootDirPath + "//" + _projectHash["dalName"]; _CreateDir(dirDAL); #region BaseDAL string baseFilePath = dirDAL + "//BaseDAL.cs"; _CreateFile(baseFilePath, dal.CreateBaseDAL(_projectHash["projName"].ToString())); #endregion #region MainDAL string mainDAL = dirDAL + "//MainDAL.cs"; _CreateFile(mainDAL, dal.CreateMainDAL(_projectHash["projName"].ToString())); #endregion }