private void CreateIDAL(String tbName, CreateCodeHelper d) { var s = ""; if (string.IsNullOrEmpty(realyNamespqce)) { s = d.CreateIDAL(tbName); } else { s = d.CreateIDAL(tbName, realyNamespqce); } var p = settings.strPath + "IDAL" + Path.DirectorySeparatorChar; CreateDirectory(p); File.WriteAllText(p + "I" + tbName + "DAL.cs", s, Encoding.UTF8); }