예제 #1
0
파일: DemoBLL.cs 프로젝트: newbokee/UIDP
        public bool CreateEntity(string entityName, string contentRootPath)
        {
            string[] arr = contentRootPath.Split('\\');
            string   baseFileProvider = "";

            for (int i = 0; i < arr.Length - 1; i++)
            {
                baseFileProvider += arr[i];
                baseFileProvider += "\\";
            }
            string filePath = baseFileProvider + "UIDP.Entity";

            return(demoService.CreateEntity(entityName, filePath));
        }