| | |
| | | using GenerateCode_WeiBen_WMS.DataBaseFactory; |
| | | using GenerateCode_WeiBen_WMS.Const; |
| | | using GenerateCode_WeiBen_WMS.Model; |
| | | using GenerateCode_WeiBen_WMS.Utility; |
| | | |
| | | namespace GenerateCode_GEBrilliantFactory |
| | | { |
| | |
| | | //çæModel |
| | | //CreateModelFile(columnList, tableName, filePrefixName, wcf_NameSpacePath, createPerson, chinaComment, entityName, modulelogo); |
| | | //CreateModelParamFile(columnList, tableName, filePrefixName, wcf_NameSpacePath, createPerson, chinaComment, entityName, modulelogo); |
| | | genCodeRootPath = tbPath.Text + @"\" + tb_WCF_NameSpacePath.Text.Trim(); |
| | | genCodeRootPath = tbPath.Text + @"\" + tb_WCF_NameSpacePath.Text.Trim(); |
| | | var webFolerPath = (tb_WCF_NameSpacePath.Text.Trim() + "_Web").ToLower(); |
| | | #region å®ä½ç±» |
| | | var entityFilePath = genCodeRootPath + @"\server\src\CMS.Plugin." + tb_WCF_NameSpacePath.Text.Trim() + @".Application.Contracts\Dtos\" + tb_EntityName.Text.Trim(); |
| | |
| | | str_generate = AutoMapperProfile_Generate.CreateText(param); |
| | | tf = TextHelper.Export2File_V2(autoMapFilePath, param.EntityName + $"AutoMapperProfile.cs", tableName, str_generate, FileType.InputModel, filePrefixName, entityName, modulelogo); |
| | | |
| | | //37ãçæ å¯¼åºæ¨¡æ¿Excelæä»¶ |
| | | List<ColumnModel> newColumnNameList = ListHelper.RemoveForPageTableListQueryAttributes(param.ColumnNameList); |
| | | ImportTemplteHelper.CreateImportTemplte(param, newColumnNameList, genCodeRootPath); |
| | | |
| | | |
| | | ////çæ OutputModel æä»¶ |