mirror of
https://github.com/DapperLib/Dapper.git
synced 2026-10-27 03:27:02 +08:00
Added Simple.Data to performance tests
This commit is contained in:
@@ -2,3 +2,4 @@
|
||||
bin/
|
||||
obj/
|
||||
/*.user
|
||||
_Resharper*
|
||||
@@ -70,6 +70,15 @@
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>OrmLite\ServiceStack.Text.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Simple.Data, Version=0.5.10.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>Simple.Data\Simple.Data.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Simple.Data.Ado, Version=0.5.10.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>Simple.Data\Simple.Data.Ado.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Simple.Data.SqlServer, Version=0.5.10.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>Simple.Data\Simple.Data.SqlServer.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SubSonic.Core">
|
||||
<HintPath>SubSonic\SubSonic.Core.dll</HintPath>
|
||||
</Reference>
|
||||
@@ -185,6 +194,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="bltoolkit\" />
|
||||
<Folder Include="Simple.Data\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Dapper\Dapper.csproj">
|
||||
|
||||
@@ -152,6 +152,10 @@ namespace SqlMapper
|
||||
var db1 = new DbManager(Program.GetOpenConnection());
|
||||
tests.Add(id => db1.SetCommand("select * from Posts where Id = @id", db1.Parameter("id", id)).ExecuteList<Post>(), "BLToolkit");
|
||||
|
||||
// Simple.Data
|
||||
var sdb = Simple.Data.Database.OpenConnection(Program.connectionString);
|
||||
tests.Add(id => sdb.Posts.FindById(id), "Simple.Data");
|
||||
|
||||
//ServiceStack.OrmLite Provider:
|
||||
/*
|
||||
* Unhandled Exception: System.FormatException: Input string was not in a correct f
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user