Browse Source

docs: update README and README.zh-CN with new links, improved descriptions, and corrected formatting

master
李文强 2 days ago
parent
commit
6e6a95ae60
  1. 49
      README.md
  2. 19
      README.zh-CN.md

49
README.md

@ -63,13 +63,16 @@ For details, see: <https://dev.azure.com/xinlaiopencode/Magicodes.IE/_build?defi
4. <a href="docs/4.Use in Docker.md">Use in Docker</a>
5. <a href="docs/5.Dynamic Export.md">Dynamic Export</a>
6. <a href="docs/6.Import Multi-Sheet Tutorial.md">Import Multi-Sheet Tutorial</a>
7. <a href="docs/8. Import and export Excel as pictures.md">Import and export Excel as pictures</a>
8. <a href="docs/9.Excel template export-Export textbook order form .md">Excel template export-Export textbook order form</a>
9. <a href="docs/Excel Merge Row Cells Import.md">Excel Merge Row Cells Import</a>
7. <a href="docs/7.Csv Import and Export.md">Csv Import and Export</a>
8. <a href="docs/8. Import and export Excel as pictures.md">Import and export Excel as pictures</a>
9. <a href="docs/9.Excel template export-Export textbook order form .md">Excel template export-Export textbook order form</a>
10. <a href="https://docs.xin-lai.com/2020/09/21/%E7%BB%84%E4%BB%B6/Magicodes.IE/Magicodes.IE%E4%B9%8B%E5%AF%BC%E5%85%A5%E5%AF%BC%E5%87%BA%E7%AD%9B%E9%80%89%E5%99%A8/">Import and Export Filters</a>
11. <a href="https://docs.xin-lai.com/2020/09/28/%E7%BB%84%E4%BB%B6/Magicodes.IE/Magicodes.IE%E4%B9%8B%E8%8A%B1%E5%BC%8F%E5%AF%BC%E5%87%BA/">Magicodes.IE Fancy Export</a>
12. <a href="docs/12.Exporting multiple formats in NETCore via request headers.md">Exporting multiple formats in NETCore via request headers</a>
13. <a href="docs/13.Performance Measurement.md">Performance Measurement</a>
14. <a href="docs/Excel Merge Row Cells Import.md">Excel Merge Row Cells Import</a>
15. <a href="docs/Excel template export - dynamic export.md">Excel template export - dynamic export</a>
15. <a href="docs/Excel template export - dynamic export.md">Excel template export - dynamic export</a>
16. <a href="docs/Magicodes.IE.Excel.AspNetCore Quick Export Excel.md">Magicodes.IE.Excel.AspNetCore Quick Export Excel (new)</a>
**See below for other tutorials or unit tests**
@ -81,8 +84,8 @@ For details, see: <https://dev.azure.com/xinlaiopencode/Magicodes.IE/_build?defi
**![](./res/导入Dto.png "Import DTO")**
- **Support various filters to support scenarios such as multi-language, dynamic control column display, etc. For specific usage, see unit test:**
- **Import column header filter <IImportHeaderFilter>(you can dynamically specify the imported column and imported value mapping relationship)**
- **Export column header filter <IImportHeaderFilter>(can dynamically control the export column, support dynamic export (DataTable))**
- **Export column headers filter <IImportHeadersFilter>(can dynamically control the export column, support dynamic export (DataTable))**
- **Export column header filter <IExportHeaderFilter>(can dynamically control the export column, support dynamic export (DataTable))**
- **Export column headers filter <IExportHeadersFilter>(can dynamically control the export column, support dynamic export (DataTable))**
- **Import result filter <IImportResultFilter>(can modify annotation file)**
- **Export supports text custom filtering or processing;**
- **Import supports automatic skipping of blank lines in the middle;**
@ -112,7 +115,7 @@ For details, see: <https://dev.azure.com/xinlaiopencode/Magicodes.IE/_build?defi
- **Import supports repeated verification;**
![](./res/重复错误.png "Repeated verification")
- **Support single data template export, often used to export receipts, credentials and other businesses**
- **Support dynamic column export (based on DataTable), and the Sheet will be split automatically if it exceeds 100W. (Thanks to teacher Zhang Shanyou ([https://github.com/xin-lai/Magicodes.IE/pull/8](https://github.com/xin-lai/Magicodes.IE/pull/8) ))* *
- **Support dynamic column export (based on DataTable), and the Sheet will be split automatically if it exceeds 100W. (Thanks to teacher Zhang Shanyou ([https://github.com/xin-lai/Magicodes.IE/pull/8](https://github.com/xin-lai/Magicodes.IE/pull/8)))**
- **Support dynamic/ExpandoObject dynamic column export**
```csharp
[Fact(DisplayName = "DTO export supports dynamic types")]
@ -135,7 +138,7 @@ For details, see: <https://dev.azure.com/xinlaiopencode/Magicodes.IE/_build?defi
File.Exists(filePath).ShouldBeTrue();
}
```
- **Support value mapping, support setting value mapping relationship through "ValueMappingAttribute" feature. It is used to generate data validation constraints for import templates and perform data conversion. **
- **Support value mapping, support setting value mapping relationship through "ValueMappingAttribute" feature. It is used to generate data validation constraints for import templates and perform data conversion.**
```csharp
/// <summary>
/// Gender
@ -147,6 +150,30 @@ For details, see: <https://dev.azure.com/xinlaiopencode/Magicodes.IE/_build?defi
public Genders Gender { get; set; }
```
- **You can also inherit the "ValueMappingsBaseAttribute" attribute base class to implement value mapping relationships, currently only available for enumeration and Bool types, supports import and export.**
```csharp
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
public class GenderLocalAttribute : ValueMappingsBaseAttribute
{
public override Dictionary<string, object> GetMappings(PropertyInfo propertyInfo)
{
var res= new Dictionary<string, object>();
res.Add("Male",0);
res.Add("Female",1);
return res;
}
}
/// <summary>
/// Gender
/// </summary>
[ImporterHeader(Name = "Gender")]
[Required(ErrorMessage = "Gender cannot be empty.")]
[GenderLocal]
public Genders Gender { get; set; }
```
- **Support the generation of imported data verification items of enumeration and Bool type, and related data conversion**
- **Enumeration will automatically obtain the description, display name, name and value of the enumeration by default to generate data items**
@ -208,7 +235,7 @@ For details, see: <https://dev.azure.com/xinlaiopencode/Magicodes.IE/_build?defi
- **Support excel multi-sheet import**
**![](./res/multipleSheet.png "Enumeration to data mapping")**
- **Support Excel template export, and support image rendering**
- **Support Excel template export, JSON dynamic export, and support image rendering**
**![](./res/ExcelTplExport.png "Excel template export")**
The rendering syntax is as follows:
@ -220,6 +247,8 @@ For details, see: <https://dev.azure.com/xinlaiopencode/Magicodes.IE/_build?defi
{{Image::ImageUrl?Width=50&Height=120&Alt=404}} //Picture rendering
{{Image::ImageUrl?w=50&h=120&Alt=404}} //Picture rendering
{{Image::ImageUrl?Alt=404}} //Picture rendering
{{Formula::AVERAGE?params=G4:G6}} //Formula rendering
{{Formula::SUM?params=G4:G6&G4}} //Formula rendering
```
Custom pipelines will be supported in the future.
@ -271,7 +300,7 @@ Support display operations for input prompts:
- **Excel import supports merging row data** [#239](https://github.com/dotnetcore/Magicodes.IE/issues/239)
![合并行导入文件](res/image-20210306105147319.png)
![Excel Merge Row Cells Import](res/image-20210306105147319.png)
- Add packaging for Abp module, see [#318](https://github.com/dotnetcore/Magicodes.IE/issues/318) for details.

19
README.zh-CN.md

@ -13,7 +13,7 @@
**地址(优先更新Gitee):**[CodeSpirit(码灵)](https://gitee.com/magicodes/code-spirit)
**简介:**CodeSpirit(码灵)是一款革命性的全栈低代码开发框架,通过智能代码生成引擎与AI深度协同,实现**后端驱动式全栈开发范式**。基于.NET 9技术栈构建,将具备企业级技术深度与云原生扩展能力,提供从界面生成、业务逻辑编排到系统运维的全生命周期支持。
**简介:**CodeSpirit(码灵)是一款革命性的全栈低代码智能体开发框架,通过智能代码生成引擎与AI深度协同,实现**后端驱动式全栈开发范式**。基于.NET 10技术栈构建,将具备企业级技术深度与云原生扩展能力,提供从界面生成、业务逻辑编排到系统运维的全生命周期支持。
**让全栈开发回归工程本质**
@ -34,7 +34,7 @@
7. [FAQ](https://github.com/dotnetcore/Magicodes.IE/issues?q=label%3Aquestion)
8. [联系我们](#联系我们)
9. [更新历史](./RELEASE.md)
10. [友情赞助](#友情赞助)
10. [贡献者](#贡献者)
## 概述
@ -401,22 +401,27 @@ public DateTime Time3 { get; set; }
<img align="left" src="./res/wechat.jpg" width="300"/>
</td>
<td>
<img align="right" src="res/IE_WeChat.png" width="300"/>
<img align="right" src="./res/IE_WeChat.png" width="300"/>
</td>
</tr>
</table>
> ##### **文档官网&官方博客**
- **文档官网:<https://docs.xin-lai.com/>**
- **博客:<http://www.cnblogs.com/codelove/>**
- **官方博客:** <http://www.cnblogs.com/codelove/>
- **GitHub:** <https://github.com/dotnetcore/Magicodes.IE>
- **Gitee(手动同步,不维护):** <https://gitee.com/magicodes/Magicodes.IE>
## **贡献者**
### Code Contributors
本项目感谢所有贡献者的支持。[[贡献指南](CONTRIBUTING.md)]
<a href="https://github.com/dotnetcore/Magicodes.IE/graphs/contributors"><img src="https://opencollective.com/magicodes/contributors.svg?width=890&button=false" /></a>
### Financial Contributors
Become a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/magicodes/contribute)]
成为财务贡献者,帮助我们维持社区发展。[[贡献](https://opencollective.com/magicodes/contribute)]
#### Individuals
@ -424,7 +429,7 @@ Become a financial contributor and help us sustain our community. [[Contribute](
#### Organizations
Support this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/magicodes/contribute)]
用您的组织支持这个项目。您的徽标将显示在这里,并链接到您的网站。[[贡献](https://opencollective.com/magicodes/contribute)]
<a href="https://opencollective.com/magicodes/organization/0/website"><img src="https://opencollective.com/magicodes/organization/0/avatar.svg"></a>
<a href="https://opencollective.com/magicodes/organization/1/website"><img src="https://opencollective.com/magicodes/organization/1/avatar.svg"></a>

Loading…
Cancel
Save