Talent.DapperEx 2.1.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Talent.DapperEx --version 2.1.1
NuGet\Install-Package Talent.DapperEx -Version 2.1.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Talent.DapperEx" Version="2.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Talent.DapperEx --version 2.1.1
#r "nuget: Talent.DapperEx, 2.1.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Talent.DapperEx as a Cake Addin
#addin nuget:?package=Talent.DapperEx&version=2.1.1

// Install Talent.DapperEx as a Cake Tool
#tool nuget:?package=Talent.DapperEx&version=2.1.1

使用方式

2、选择要安装的默认项目

3、Install-Package Dapper -Version 1.50.2 4、Install-Package Talent.DapperEx -Version 2.0.0.3 当前版本为2.0.0.4,可根据文档选择所需版本 4、在Web.config文件内添加如下代码 <appSettings> <add key="DBConnectionName" value="strSqlServerCe" /> </appSettings> <connectionStrings> <add name="strSqlServerCe" connectionString="Data Source=127.0.0.1;Initial Catalog=BBWbjs_DB;User Id=sa;Password=1qaz@WSX;" providerName="System.Data.SqlClient" /> </connectionStrings> DapperEx2.0内测版 帮助文档

版本记录: 当前版本2.1.1.0,时间 2018.1.18 变更: 本次版本变更为大版本变更!!!新增了对国产瀚高数据库HIGODB 的支持。如需使用瀚高数据库,则需进行如下配置后方可使用。 配置方法: 1、修改数据库连接字符串为: <add name="highgoServer" connectionString="Server=127.0.0.1;Port=5866;Database=file;User Id=highgo;Password=1qaz@WSX;" providerName="Npgsql" /> 2、Web项目引用添加Mono.Security、Npgsql:

3、Web.config添加如下配置: <configSections> <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> </configSections> <entityFramework> <providers> <provider invariantName="Npgsql" type="Npgsql.NpgsqlServices, Npgsql" /> </providers> </entityFramework> <system.data> <DbProviderFactories> <add name="Npgsql Data Provider" invariant="Npgsql" description ="Data Provider for PostgreSQL" type="Npgsql.NpgsqlFactory, Npgsql" /> </DbProviderFactories> </system.data>

注意事项:Web项目下一定要添加Mono.Security、Npgsql的引用,即便Talent.DapperEx是在Service或其他类库中引用,无需在类库中添加Mono.Security、Npgsql的引用,只需要在Web项目下添加即可。 基本变更: 在Web.config文件内添加如下代码,可以设置执行数据库操作时的超时时间。 <appSettings> <add key=" CommandTimeout" value="3000" /> </appSettings>

---------------------------------------------------------分割线-------------------------------------------------------------

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.1.2 1,133 1/30/2018
2.1.1.1 1,014 1/24/2018
2.1.1 878 1/19/2018
2.0.1.1 984 12/17/2017
2.0.1 1,107 12/16/2017
2.0.0.4 938 12/8/2017
2.0.0.3 923 12/1/2017
2.0.0.2 909 11/28/2017
2.0.0.1 881 11/27/2017

first publish