Exemple #1
0
        public void CreateEntityFiles()
        {
            EntityProj entity = EntityProj.getInstance();

            string dirEntity = _rootDirPath + "//" + _projectHash["entityName"];

            _CreateDir(dirEntity);

            #region BaseEntity
            string baseFilePath = dirEntity + "//BaseEntity.cs";
            _CreateFile(baseFilePath, entity.CreateBaseEntity(_projectHash["entityName"].ToString()));
            #endregion

            #region Result
            string resultFilePath = dirEntity + "//Result.cs";
            _CreateFile(resultFilePath, entity.CreateResultEntity(_projectHash["entityName"].ToString()));
            #endregion
        }