Dapper.Net扩展实例

上传者: hahaomi23 | 上传时间: 2022-06-24 13:59:24 | 文件大小: 2.17MB | 文件类型: RAR
本实例参考了Dapper.Net 和 博客园网友cyb331文章 http://www.cnblogs.com/cyb331/p/3524137.html 整理出来的对Dapper扩展的实例. 1 可以做数据库切换. 2 执行基本的SQL语句如,插入,修改,删除,都是可以使用泛型方式 3 针对查询SQL,不同数据库,处理不同.自己写SQL语句 . 4 支持分页查询. 请网友看源代码,就明白怎么用了. 如果不明白可以到cyb331的博客园去看 http://www.cnblogs.com/cyb331/p/3524137.html 他写了一个系列 如果还有不明白的,可以私信我.

文件下载

资源详情

[{"title":"( 60 个子文件 2.17MB ) Dapper.Net扩展实例","children":[{"title":"DapperForNet","children":[{"title":"DapperEx.cs <span style='color:#111;'> 6.64KB </span>","children":null,"spread":false},{"title":"ParamColumnModel.cs <span style='color:#111;'> 526B </span>","children":null,"spread":false},{"title":"Attributes","children":[{"title":"BaseAttribute.cs <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false}],"spread":true},{"title":"CustomDynamicBuilder.cs <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":"DapperForNet.csproj <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false},{"title":"DynamicPropertyModel.cs <span style='color:#111;'> 508B </span>","children":null,"spread":false},{"title":"ModelDes.cs <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"DapperForNet.csproj.FileListAbsolute.txt <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"DapperForNet.dll <span style='color:#111;'> 95.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.39KB </span>","children":null,"spread":false},{"title":"DapperForNet.csprojResolveAssemblyReference.cache <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"DapperForNet.pdb <span style='color:#111;'> 191.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"SQL","children":[{"title":"QueryOrder.cs <span style='color:#111;'> 474B </span>","children":null,"spread":false},{"title":"OperationMethod.cs <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"SqlQuery.cs <span style='color:#111;'> 23.72KB </span>","children":null,"spread":false}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"DapperForNet.dll <span style='color:#111;'> 95.50KB </span>","children":null,"spread":false},{"title":"DapperForNet.pdb <span style='color:#111;'> 191.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":null,"spread":false}],"spread":true},{"title":"DbBase.cs <span style='color:#111;'> 4.40KB </span>","children":null,"spread":false},{"title":"Common.cs <span style='color:#111;'> 6.77KB </span>","children":null,"spread":false},{"title":"SqlMapper.cs <span style='color:#111;'> 155.85KB </span>","children":null,"spread":false}],"spread":false},{"title":"WindowsFormsApplication1","children":[{"title":"ReadME.txt <span style='color:#111;'> 817B </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 505B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.csproj <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"Form1.Designer.cs <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 950B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"WindowsFormsApplication1.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"WindowsFormsApplication1.csprojResolveAssemblyReference.cache <span style='color:#111;'> 14.51KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 7.04KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.exe <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 865B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.csproj.GenerateResource.Cache <span style='color:#111;'> 977B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"UserTb.cs <span style='color:#111;'> 270B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"System.Data.SQLite.dll <span style='color:#111;'> 273.50KB </span>","children":null,"spread":false},{"title":"DapperForNet.dll <span style='color:#111;'> 95.50KB </span>","children":null,"spread":false},{"title":"x64","children":[{"title":"SQLite.Interop.dll <span style='color:#111;'> 1009.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"WindowsFormsApplication1.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"test.mdb <span style='color:#111;'> 344.00KB </span>","children":null,"spread":false},{"title":"DapperForNet.pdb <span style='color:#111;'> 191.50KB </span>","children":null,"spread":false},{"title":"x86","children":[{"title":"SQLite.Interop.dll <span style='color:#111;'> 809.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"test.db <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.exe <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.vshost.exe.config <span style='color:#111;'> 950B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.exe.config <span style='color:#111;'> 950B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.vshost.exe <span style='color:#111;'> 23.65KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":false},{"title":"WindowsFormsApplication1.sln <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"Dll","children":[{"title":"System.Data.SQLite.dll <span style='color:#111;'> 273.50KB </span>","children":null,"spread":false},{"title":"x64","children":[{"title":"SQLite.Interop.dll <span style='color:#111;'> 1009.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"x86","children":[{"title":"SQLite.Interop.dll <span style='color:#111;'> 809.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明