A. NET open source project that can be used as a tool and learn its source code-SmartSQL

A. NET open source project that can be used as a tool and learn its source code-SmartSQL

A convenient and fast database document query and generation tool, dedicated to becoming a metadata management tool to help enterprises quickly achieve digital transformation.

最后更新 2/12/2023 6:23 PM
沙漠尽头的狼
预计阅读 4 分钟
分类
.NET
专题
WPF Open Source Project C#Open Source Project
标签
.NET C# WPF WPF Open Source Project open source projects

项目宣传图

Hello everyone, I am a wolf at the end of the desert.

1. project information

今天介绍一个.NET开源项目 SmartSQL,站长是从张队分享的一篇公众号文章开源:一款基于.Net开发提升开发效率的强大多功能工具箱了解到的,今天通过查看该项目源码,非常值得二次推荐,本文从源码及功能两点介绍。

About this open source project:

  • Warehouse address: gitee.com/dotnetchina/SmartSQL
  • 开源协议:Apache-2.0
  • Project goal: A convenient and fast database document query and generation tool, and is committed to becoming a metadata management tool that helps enterprises quickly realize digital transformation.

项目仓库

2. Simple analysis of source code

项目解决方案

The source code includes three projects: SmartSQL, SmartSQL.DocUtils and SmartSQL.Framework. Let's simply check it out, and friends who are interested in the source code can check it out.

2.1. SmartSQL

主工程

这是主工程,是一个WPF项目,里面使用了AduSkinAvalonEditHandyControlFontAwesome.WPF等第三方库,通过该工程可以学习怎么使用第三方控件库、字体库等,后面通过看工具截图可看控件库的实用效果。

项目工具代码截图

In addition, as shown in the screenshot of the code file above, the specific implementation of each tool is also in this project. If you have relevant functional requirements in your daily work, you can directly refer to this project. The list of tools is as follows.

项目工具一览

2.2. SmartSQL.DocUtils

SmartSQL.DocUtils工程

This project is a class library that encapsulates the import and export of various data files. Through the introduction of the warehouse, you will know how rich the supported files are:

SmartSQL is a convenient and fast database document query and export tool! Starting from the initial support for SqlServer database and CHM document formats, through continuous exploration and development, brainstorming and continuous improvement, it has gradually supported the export of document formats such as Word, Excel, PDF, Html, Xml, Json, and MarkDown. At the same time, it also extends the support for document query and export functions in various databases including SqlServer, MySql, PostgreSQL, SQLite, etc.

2.3. SmartSQL.Framework

SmartSQL.Framework工程

As you can see from the name, this class library is the core project of this project, that is, the core code base for database document query and export. Comrades interested in the implementation of database operations can view it.

3. function display

设置SmartSQL工程为启动项目,点击运行(也可下载安装包运行):

运行项目源码

下面列出部分功能截图(基本来自仓库readme),详细功能请看仓库实时更新。

3.1. functional architecture

功能架构

3.2. Dashboard

Dashboard

3.3. shortcut query

快捷查询

3.4. import and export

导入导出

3.5. Document screenshot

**CHM Documentation **

CHM文档

**Html document **

Html文档

**Word document **

Word文档

**Excel document **

Excel文档

**PDF document **

PDF文档

3.6. list of toolboxes

工具箱列表

The use of 3 tools was recorded:

** QR code generation **

Try scanning the code.

二维码生成

**Json formatting **

Json格式化

** Convert Chinese characters to Pinyin **

汉字转拼音

更多工具请编译源码下载体验。

4. end

Finally, give the warehouse address: https://gitee.com/dotnetchina/SmartSQL.

I hope this tool will bring you convenience, and the tool source code will bring you reference.

Keep Exploring

延伸阅读

更多文章
同分类 / 同标签 5/27/2025

WPF achieves a danger warning effect

When the program we write is released, the user is doing some dangerous operations. Our software should give some reminder effects, such as red on the edge of the border, similar to the alarm reminder effect like Gaode Map

继续阅读
同分类 / 同标签 6/20/2024

CodeWF.EventBus: Lightweight event bus for smoother communication

CodeWF.EventBus, a flexible event bus library that enables decoupling communication between modules. Supports multiple. NET project types, such as WPF, WinForms, ASP.NET Core, etc. Adopt concise design to easily implement command publishing and subscribing, request and response. Ensure that incidents are properly handled through orderly incident handling. Streamline your code and improve system maintainability.

继续阅读