Exemple #1
0
        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));
        }