Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
Dapper
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
Dapper
Commits
727e9252
Commit
727e9252
authored
Apr 18, 2011
by
markrendle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Simple.Data to performance tests
parent
23cac1fb
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
0 deletions
+15
-0
.gitignore
.gitignore
+1
-0
DapperTests.csproj
Tests/DapperTests.csproj
+10
-0
PerformanceTests.cs
Tests/PerformanceTests.cs
+4
-0
Simple.Data.Ado.dll
Tests/Simple.Data/Simple.Data.Ado.dll
+0
-0
Simple.Data.SqlServer.dll
Tests/Simple.Data/Simple.Data.SqlServer.dll
+0
-0
Simple.Data.dll
Tests/Simple.Data/Simple.Data.dll
+0
-0
No files found.
.gitignore
View file @
727e9252
...
...
@@ -2,3 +2,4 @@
bin/
obj/
/*.user
_Resharper*
\ No newline at end of file
Tests/DapperTests.csproj
View file @
727e9252
...
...
@@ -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"
>
...
...
Tests/PerformanceTests.cs
View file @
727e9252
...
...
@@ -152,6 +152,10 @@ public void Run(int iterations)
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
...
...
Tests/Simple.Data/Simple.Data.Ado.dll
0 → 100644
View file @
727e9252
File added
Tests/Simple.Data/Simple.Data.SqlServer.dll
0 → 100644
View file @
727e9252
File added
Tests/Simple.Data/Simple.Data.dll
0 → 100644
View file @
727e9252
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment