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
5f3d178d
Commit
5f3d178d
authored
Sep 09, 2016
by
Marc Gravell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Capitalization
parent
3cc7db64
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
SqlMapper.Settings.cs
Dapper/SqlMapper.Settings.cs
+2
-2
SqlMapper.cs
Dapper/SqlMapper.cs
+2
-2
No files found.
Dapper/SqlMapper.Settings.cs
View file @
5f3d178d
...
@@ -19,7 +19,7 @@ private static void SetAllowedCommandBehaviors(CommandBehavior behavior, bool en
...
@@ -19,7 +19,7 @@ private static void SetAllowedCommandBehaviors(CommandBehavior behavior, bool en
else
AllowedCommandBehaviors
&=
~
behavior
;
else
AllowedCommandBehaviors
&=
~
behavior
;
}
}
/// <summary>
/// <summary>
/// Gets or sets whether
d
apper should use the CommandBehavior.SingleResult optimization
/// Gets or sets whether
D
apper should use the CommandBehavior.SingleResult optimization
/// </summary>
/// </summary>
/// <remarks>Note that a consequence of enabling this option is that errors that happen <b>after</b> the first select may not be reported</remarks>
/// <remarks>Note that a consequence of enabling this option is that errors that happen <b>after</b> the first select may not be reported</remarks>
public
static
bool
UseSingleResultOptimization
public
static
bool
UseSingleResultOptimization
...
@@ -28,7 +28,7 @@ public static bool UseSingleResultOptimization
...
@@ -28,7 +28,7 @@ public static bool UseSingleResultOptimization
set
{
SetAllowedCommandBehaviors
(
CommandBehavior
.
SingleResult
,
value
);
}
set
{
SetAllowedCommandBehaviors
(
CommandBehavior
.
SingleResult
,
value
);
}
}
}
/// <summary>
/// <summary>
/// Gets or sets whether
d
apper should use the CommandBehavior.SingleRow optimization
/// Gets or sets whether
D
apper should use the CommandBehavior.SingleRow optimization
/// </summary>
/// </summary>
/// <remarks>Note that on some DB providers this optimization can have adverse performance impact</remarks>
/// <remarks>Note that on some DB providers this optimization can have adverse performance impact</remarks>
public
static
bool
UseSingleRowOptimization
public
static
bool
UseSingleRowOptimization
...
...
Dapper/SqlMapper.cs
View file @
5f3d178d
...
@@ -122,7 +122,7 @@ private static void PurgeQueryCacheByType(Type type)
...
@@ -122,7 +122,7 @@ private static void PurgeQueryCacheByType(Type type)
}
}
/// <summary>
/// <summary>
/// Return a count of all the cached queries by
d
apper
/// Return a count of all the cached queries by
D
apper
/// </summary>
/// </summary>
/// <returns></returns>
/// <returns></returns>
public
static
int
GetCachedSQLCount
()
public
static
int
GetCachedSQLCount
()
...
@@ -131,7 +131,7 @@ public static int GetCachedSQLCount()
...
@@ -131,7 +131,7 @@ public static int GetCachedSQLCount()
}
}
/// <summary>
/// <summary>
/// Return a list of all the queries cached by
d
apper
/// Return a list of all the queries cached by
D
apper
/// </summary>
/// </summary>
/// <param name="ignoreHitCountAbove"></param>
/// <param name="ignoreHitCountAbove"></param>
/// <returns></returns>
/// <returns></returns>
...
...
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