实例介绍
Dapper 是一个开源的.net ORM,跟ADO.Net 无缝结合,执行效率较高。非常适合中小型项目。学习成本偏低。
【实例截图】
【核心代码】
dapper-dot-net-source
└── dapper-dot-net-source
├── Dapper.Contrib
│ ├── Dapper.Contrib.1.0.nupkg
│ ├── Dapper.Contrib.csproj
│ ├── Dapper.Contrib.nuspec
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── SqlMapperExtensions.cs
├── Dapper.Contrib.Tests
│ ├── Assert.cs
│ ├── Dapper.Contrib.Tests.csproj
│ ├── Program.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── Tests.cs
├── Dapper NET35
│ └── Dapper NET35.csproj
├── Dapper NET40
│ ├── Dapper NET40.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── SqlMapper.cs
├── Dapper NET45
│ ├── Class1.cs
│ ├── Dapper NET45.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── SqlMapperAsync.cs
├── dapper.nuspec
├── Dapper.Rainbow
│ ├── Dapper.Rainbow.csproj
│ ├── Dapper.Rainbow.nuspec
│ ├── Database.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Snapshotter.cs
│ └── SqlCompactDatabase.cs
├── Dapper.sln
├── Dapper.SqlBuilder
│ ├── Dapper.SqlBuilder.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── SqlBuilder.cs
├── DapperTests NET35
│ ├── app.config
│ ├── DapperTests NET35.csproj
│ ├── Program.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── Tests.cs
├── DapperTests NET45
│ ├── App.config
│ ├── DapperTests NET45.csproj
│ ├── Program.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── Tests.cs
├── Dapper - VS2012.sln
├── License.txt
├── packages
│ ├── FSPowerPack.Community.2.0.0.0
│ │ ├── Content
│ │ │ └── FSPowerPack_Example.fs.pp
│ │ ├── FSPowerPack.Community.2.0.0.0.nupkg
│ │ ├── Lib
│ │ │ ├── Net20
│ │ │ │ ├── FSharp.PowerPack.dll
│ │ │ │ ├── FSharp.PowerPack.Linq.dll
│ │ │ │ ├── FSharp.PowerPack.Linq.xml
│ │ │ │ ├── FSharp.PowerPack.Metadata.dll
│ │ │ │ ├── FSharp.PowerPack.Metadata.xml
│ │ │ │ └── FSharp.PowerPack.xml
│ │ │ ├── Net40
│ │ │ │ ├── FSharp.PowerPack.dll
│ │ │ │ ├── FSharp.PowerPack.Linq.dll
│ │ │ │ ├── FSharp.PowerPack.Linq.xml
│ │ │ │ ├── FSharp.PowerPack.Metadata.dll
│ │ │ │ ├── FSharp.PowerPack.Metadata.xml
│ │ │ │ ├── FSharp.PowerPack.Parallel.Seq.dll
│ │ │ │ ├── FSharp.PowerPack.Parallel.Seq.xml
│ │ │ │ └── FSharp.PowerPack.xml
│ │ │ ├── sl3
│ │ │ │ ├── FSharp.PowerPack.Compatibility.dll
│ │ │ │ └── FSharp.PowerPack.dll
│ │ │ └── sl4
│ │ │ ├── FSharp.PowerPack.Compatibility.dll
│ │ │ └── FSharp.PowerPack.dll
│ │ └── Tools
│ │ ├── FSharp.Compiler.CodeDom.dll
│ │ ├── FSharp.Compiler.CodeDom.xml
│ │ ├── FSharp.PowerPack.Build.Tasks.dll
│ │ ├── FSharp.PowerPack.Build.Tasks.xml
│ │ ├── FSharp.PowerPack.Compatibility.dll
│ │ ├── FSharp.PowerPack.Compatibility.xml
│ │ ├── FSharp.PowerPack.dll
│ │ ├── FSharp.PowerPack.Linq.dll
│ │ ├── FSharp.PowerPack.Linq.xml
│ │ ├── FSharp.PowerPack.Metadata.dll
│ │ ├── FSharp.PowerPack.Metadata.xml
│ │ ├── FSharp.PowerPack.Parallel.Seq.dll
│ │ ├── FSharp.PowerPack.Parallel.Seq.xml
│ │ ├── FSharp.PowerPack.targets
│ │ ├── FSharp.PowerPack.xml
│ │ ├── fshtmldoc.exe
│ │ ├── fslex.exe
│ │ └── fsyacc.exe
│ ├── Npgsql.2.0.11
│ │ └── lib
│ │ ├── Net11
│ │ │ ├── Mono.Security.dll
│ │ │ ├── Npgsql.dll
│ │ │ └── Npgsql.XML
│ │ ├── Net35
│ │ │ ├── Mono.Security.dll
│ │ │ ├── Npgsql.dll
│ │ │ └── Npgsql.XML
│ │ └── Net40
│ │ ├── Mono.Security.dll
│ │ ├── Npgsql.dll
│ │ └── Npgsql.XML
│ ├── NuGet.CommandLine.2.5.0
│ │ └── NuGet.CommandLine.2.5.0.nuspec
│ ├── repositories.config
│ └── SqlServerCompact.4.0.8482.1
│ ├── Content
│ │ └── web.config.transform
│ ├── lib
│ │ └── System.Data.SqlServerCe.dll
│ ├── NativeBinaries
│ │ ├── amd64
│ │ │ ├── Microsoft.VC90.CRT
│ │ │ │ ├── Microsoft.VC90.CRT.manifest
│ │ │ │ ├── msvcr90.dll
│ │ │ │ └── README_ENU.txt
│ │ │ ├── sqlcecompact40.dll
│ │ │ ├── sqlceer40EN.dll
│ │ │ ├── sqlceme40.dll
│ │ │ ├── sqlceqp40.dll
│ │ │ └── sqlcese40.dll
│ │ └── x86
│ │ ├── Microsoft.VC90.CRT
│ │ │ ├── Microsoft.VC90.CRT.manifest
│ │ │ ├── msvcr90.dll
│ │ │ └── README_ENU.txt
│ │ ├── sqlcecompact40.dll
│ │ ├── sqlceer40EN.dll
│ │ ├── sqlceme40.dll
│ │ ├── sqlceqp40.dll
│ │ └── sqlcese40.dll
│ ├── SQLCE_EULA_ENU.rtf
│ ├── SqlServerCompact.4.0.8482.1.nupkg
│ └── Tools
│ ├── GetSqlCEPostBuildCmd.ps1
│ ├── install.ps1
│ └── uninstall.ps1
├── Packages.dgml
├── Readme.md
└── Tests
├── app.config
├── Assert.cs
├── bltoolkit
│ └── BLToolkit.4.dll
├── DapperTests NET40.csproj
├── EntityFramework
│ ├── Model.Designer.cs
│ └── Model.edmx
├── License.txt
├── Linq2Sql
│ ├── DataClasses.dbml
│ ├── DataClasses.dbml.layout
│ ├── DataClasses.designer.cs
│ └── Post.cs
├── Massive
│ └── Massive.cs
├── NHibernate
│ ├── hibernate.cfg.xml
│ ├── Iesi.Collections.dll
│ ├── LinFu.DynamicProxy.dll
│ ├── NHibernate.ByteCode.LinFu.dll
│ ├── NHibernate.dll
│ ├── NHibernateHelper.cs
│ └── Post.hbm.xml
├── OrmLite
│ ├── ServiceStack.Common.dll
│ ├── ServiceStack.Interfaces.dll
│ ├── ServiceStack.OrmLite.dll
│ ├── ServiceStack.OrmLite.SqlServer.dll
│ └── ServiceStack.Text.dll
├── packages.config
├── PerformanceTests.cs
├── PetaPoco
│ └── PetaPoco.cs
├── Program.cs
├── Properties
│ ├── AssemblyInfo.cs
│ ├── DataSources
│ │ └── SqlMapper.EntityFramework.tempdbEntities1.datasource
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── Simple.Data
│ ├── Simple.Data.Ado.dll
│ ├── Simple.Data.dll
│ └── Simple.Data.SqlServer.dll
├── Soma
│ ├── Soma.Core.dll
│ ├── Soma.Core.IT.MsSqlCe.dll
│ └── Soma.Core.IT.MsSql.dll
├── SubSonic
│ ├── ActiveRecord.cs
│ ├── ActiveRecord.tt
│ ├── Context.cs
│ ├── Context.tt
│ ├── Settings.ttinclude
│ ├── SQLServer.ttinclude
│ ├── StoredProcedures.cs
│ ├── StoredProcedures.tt
│ ├── Structs.cs
│ ├── Structs.tt
│ └── SubSonic.Core.dll
└── Tests.cs
55 directories, 165 files
标签:
相关软件
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论