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
90bc66ad
Commit
90bc66ad
authored
Nov 11, 2011
by
Demis Bellot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made GetModelDefinition lock-free, changed Dapper to use more strong typed QueryById
parent
a1e73f85
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
1 deletion
+1
-1
ServiceStack.OrmLite.SqlServer.dll
Tests/OrmLite/ServiceStack.OrmLite.SqlServer.dll
+0
-0
ServiceStack.OrmLite.dll
Tests/OrmLite/ServiceStack.OrmLite.dll
+0
-0
PerformanceTests.cs
Tests/PerformanceTests.cs
+1
-1
No files found.
Tests/OrmLite/ServiceStack.OrmLite.SqlServer.dll
View file @
90bc66ad
No preview for this file type
Tests/OrmLite/ServiceStack.OrmLite.dll
View file @
90bc66ad
No preview for this file type
Tests/PerformanceTests.cs
View file @
90bc66ad
...
@@ -198,7 +198,7 @@ public void Run(int iterations)
...
@@ -198,7 +198,7 @@ public void Run(int iterations)
//ServiceStack's OrmLite:
//ServiceStack's OrmLite:
OrmLiteConfig
.
DialectProvider
=
SqlServerOrmLiteDialectProvider
.
Instance
;
//Using SQL Server
OrmLiteConfig
.
DialectProvider
=
SqlServerOrmLiteDialectProvider
.
Instance
;
//Using SQL Server
IDbCommand
ormLiteCmd
=
Program
.
GetOpenConnection
().
CreateCommand
();
IDbCommand
ormLiteCmd
=
Program
.
GetOpenConnection
().
CreateCommand
();
tests
.
Add
(
id
=>
ormLiteCmd
.
Query
Single
<
Post
>(
"Id"
,
id
),
"OrmLite QuerySingle
"
);
tests
.
Add
(
id
=>
ormLiteCmd
.
Query
ById
<
Post
>(
id
),
"OrmLite QueryById
"
);
// HAND CODED
// HAND CODED
...
...
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