实例介绍
.NETCore Mysql 生成器源码下载
优势:
1、根据主键、唯一键、外键(1对1,1对多,多对多)生成功能丰富的数据库 SDK;
2、严格把控数据库,避免随意创建表或字段,有标准的ER图数据库规范;
3、统一规范数据库操作类与方法(相比EF太随意的用法好管理很多),一条心堆业务;
4、优化每一个细节,决不允许低级错误干扰我们的业务逻辑(相比ORM,生成的代码更专注);
适合场境:
1、新项目开发,只管设计数据ER图,无须考虑db相关代码;
2、老项目数据库访问方式不堪入目的,表数量越多收益越大;
【核心代码】
文件清单
└── dotnetGen_mysql-d518f9ef8b5a4c1f3002898f58547b851a2fd0f6
├── 20170825201740.png
├── Common
│ ├── BaseSocket.cs
│ ├── Common.csproj
│ ├── Deflate.cs
│ ├── Misc.cs
│ ├── Model
│ │ ├── BuildInfo.cs
│ │ ├── ClientInfo.cs
│ │ ├── ColumnInfo.cs
│ │ ├── DatabaseInfo.cs
│ │ ├── DataSort.cs
│ │ ├── ForeignKeyInfo.cs
│ │ └── TableInfo.cs
│ ├── MySqlDbType.cs
│ └── Properties
│ └── AssemblyInfo.cs
├── core mysql.sln
├── GenMy
│ ├── ConsoleApp.cs
│ ├── Deflate.cs
│ ├── FastExcel
│ │ ├── Cell.cs
│ │ ├── FastExcel.Add.cs
│ │ ├── FastExcel.cs
│ │ ├── FastExcel.Delete.cs
│ │ ├── FastExcel.Read.cs
│ │ ├── FastExcel.Update.cs
│ │ ├── FastExcel.Worksheets.cs
│ │ ├── FastExcel.Write.cs
│ │ ├── Row.cs
│ │ ├── SharedStrings.cs
│ │ ├── WorksheetAddSettings.cs
│ │ └── Worksheet.cs
│ ├── GenMy.csproj
│ ├── Lib
│ │ ├── IniHelper.cs
│ │ ├── JSDecoder.cs
│ │ └── Lib.cs
│ ├── Model
│ │ ├── BuildInfo.cs
│ │ ├── ClientInfo.cs
│ │ ├── ColumnInfo.cs
│ │ ├── DatabaseInfo.cs
│ │ ├── DataSort.cs
│ │ ├── ForeignKeyInfo.cs
│ │ └── TableInfo.cs
│ ├── MySqlDbType.cs
│ ├── NPinyin
│ │ ├── Pinyin.cs
│ │ ├── PyCode.cs
│ │ └── PyHash.cs
│ ├── plist-cil
│ │ ├── ASCIIPropertyListParser.cs
│ │ ├── BinaryPropertyListParser.cs
│ │ ├── BinaryPropertyListWriter.cs
│ │ ├── NSArray.cs
│ │ ├── NSArray.IList.cs
│ │ ├── NSData.cs
│ │ ├── NSDate.cs
│ │ ├── NSDictionary.cs
│ │ ├── NSNumber.cs
│ │ ├── NSObject.cs
│ │ ├── NSSet.cs
│ │ ├── NSString.cs
│ │ ├── PropertyListException.cs
│ │ ├── PropertyListFormatException.cs
│ │ ├── PropertyListParser.cs
│ │ ├── UID.cs
│ │ └── XmlPropertyListParser.cs
│ ├── Program.cs
│ ├── Properties
│ │ └── launchSettings.json
│ └── WinFormClass
│ ├── Robot.cs
│ ├── Socket
│ │ ├── BaseSocket.cs
│ │ ├── ClientSocket.cs
│ │ └── ServerSocket.cs
│ └── WorkQueue.cs
├── LICENSE
├── log4net.dll
├── MakeCode
│ ├── app.config
│ ├── ClientSocket.cs
│ ├── ConsoleApp.cs
│ ├── FrmMain.cs
│ ├── FrmMain.designer.cs
│ ├── FrmMain.resx
│ ├── FrmView.cs
│ ├── FrmView.designer.cs
│ ├── FrmView.resx
│ ├── Lib.cs
│ ├── MakeCode.csproj
│ ├── Program.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── MySql.Data.dll
├── README.md
├── Server
│ ├── CodeBuild(Code).cs
│ ├── CodeBuild(Const).cs
│ ├── CodeBuild(DB).cs
│ ├── CodeBuild(Lib).cs
│ ├── log4net.config
│ ├── Logger.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ └── Resources.resx
│ ├── Protocol.cs
│ ├── Resources
│ │ ├── build.bat
│ │ ├── htm.zip
│ │ ├── Infrastructure
│ │ │ ├── Controllers
│ │ │ │ ├── BaseController.cs
│ │ │ │ └── CustomExceptionFilter.cs
│ │ │ ├── Extensions
│ │ │ │ └── GlobalExtensions.cs
│ │ │ └── ModuleBasic
│ │ │ ├── IModuleInitializer.cs
│ │ │ ├── ModuleInfo.cs
│ │ │ └── ModuleViewLocationExpander.cs
│ │ └── WebHost
│ │ ├── gulpfile.js
│ │ ├── package.json
│ │ └── web.config
│ ├── Server.csproj
│ └── ServerSocket.cs
├── ServerWinForm
│ ├── app.config
│ ├── Form1.cs
│ ├── Form1.Designer.cs
│ ├── Form1.resx
│ ├── Program.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ ├── ServerWinForm.csproj
│ ├── Settings.Designer.cs
│ └── Settings.settings
└── ServerWinService
├── app.config
├── Install1.cs
├── Program.cs
├── Properties
│ └── AssemblyInfo.cs
├── ServerWinService.csproj
├── Service1.cs
├── Service1.Designer.cs
├── Settings.Designer.cs
└── Settings.settings
27 directories, 136 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论