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
51192328
Commit
51192328
authored
Mar 18, 2015
by
Marc Gravell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Package updates
parent
4997b176
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
26 additions
and
23 deletions
+26
-23
AssemblyInfo.cs
Dapper NET40/Properties/AssemblyInfo.cs
+2
-2
SqlMapper.cs
Dapper NET40/SqlMapper.cs
+3
-3
SqlMapperAsync.cs
Dapper NET45/SqlMapperAsync.cs
+2
-2
AssemblyInfo.cs
Dapper.Contrib.Tests/Properties/AssemblyInfo.cs
+2
-2
AssemblyInfo.cs
Dapper.Contrib/Properties/AssemblyInfo.cs
+2
-2
DbGeographyHandler.cs
Dapper.EntityFramework NET45/DbGeographyHandler.cs
+1
-1
DbGeometryHandler.cs
Dapper.EntityFramework NET45/DbGeometryHandler.cs
+1
-1
AssemblyInfo.cs
Dapper.SqlBuilder/Properties/AssemblyInfo.cs
+2
-2
Dapper.StrongName.nuspec
Dapper.StrongName.nuspec
+1
-1
AssemblyInfo.cs
DapperTests NET35/Properties/AssemblyInfo.cs
+2
-2
AssemblyInfo.cs
DapperTests NET45/Properties/AssemblyInfo.cs
+2
-2
AssemblyInfo.cs
Tests/Properties/AssemblyInfo.cs
+2
-2
Tests.cs
Tests/Tests.cs
+2
-0
dapper.nuspec
dapper.nuspec
+2
-1
No files found.
Dapper NET40/Properties/AssemblyInfo.cs
View file @
51192328
...
...
@@ -32,5 +32,5 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[
assembly
:
AssemblyVersion
(
"1.3
8
.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.3
8
.0.0"
)]
[
assembly
:
AssemblyVersion
(
"1.3
9
.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.3
9
.0.0"
)]
Dapper NET40/SqlMapper.cs
View file @
51192328
...
...
@@ -897,13 +897,13 @@ internal static DbType LookupDbType(Type type, string name, bool demand, out ITy
switch
(
type
.
FullName
)
{
case
"Microsoft.SqlServer.Types.SqlGeography"
:
AddTypeHandler
(
type
,
handler
=
new
UdtTypeHandler
(
"
GEOGRAPHY
"
));
AddTypeHandler
(
type
,
handler
=
new
UdtTypeHandler
(
"
geography
"
));
return
DbType
.
Object
;
case
"Microsoft.SqlServer.Types.SqlGeometry"
:
AddTypeHandler
(
type
,
handler
=
new
UdtTypeHandler
(
"
GEOMETRY
"
));
AddTypeHandler
(
type
,
handler
=
new
UdtTypeHandler
(
"
geometry
"
));
return
DbType
.
Object
;
case
"Microsoft.SqlServer.Types.SqlHierarchyId"
:
AddTypeHandler
(
type
,
handler
=
new
UdtTypeHandler
(
"
HIERARCHYID
"
));
AddTypeHandler
(
type
,
handler
=
new
UdtTypeHandler
(
"
hierarchyid
"
));
return
DbType
.
Object
;
}
if
(
demand
)
...
...
Dapper NET45/SqlMapperAsync.cs
View file @
51192328
Dapper.Contrib.Tests/Properties/AssemblyInfo.cs
View file @
51192328
...
...
@@ -31,5 +31,5 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[
assembly
:
AssemblyVersion
(
"1.3
8
.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.3
8
.0.0"
)]
[
assembly
:
AssemblyVersion
(
"1.3
9
.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.3
9
.0.0"
)]
Dapper.Contrib/Properties/AssemblyInfo.cs
View file @
51192328
...
...
@@ -31,5 +31,5 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[
assembly
:
AssemblyVersion
(
"1.3
8
.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.3
8
.0.0"
)]
[
assembly
:
AssemblyVersion
(
"1.3
9
.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.3
9
.0.0"
)]
Dapper.EntityFramework NET45/DbGeographyHandler.cs
View file @
51192328
...
...
@@ -29,7 +29,7 @@ public override void SetValue(IDbDataParameter parameter, DbGeography value)
parameter
.
Value
=
value
==
null
?
(
object
)
DBNull
.
Value
:
(
object
)
SqlGeography
.
Parse
(
value
.
AsText
());
if
(
parameter
is
SqlParameter
)
{
((
SqlParameter
)
parameter
).
UdtTypeName
=
"
GEOGRAPHY
"
;
((
SqlParameter
)
parameter
).
UdtTypeName
=
"
geography
"
;
}
}
/// <summary>
...
...
Dapper.EntityFramework NET45/DbGeometryHandler.cs
View file @
51192328
...
...
@@ -29,7 +29,7 @@ public override void SetValue(IDbDataParameter parameter, DbGeometry value)
parameter
.
Value
=
value
==
null
?
(
object
)
DBNull
.
Value
:
(
object
)
SqlGeometry
.
Parse
(
value
.
AsText
());
if
(
parameter
is
SqlParameter
)
{
((
SqlParameter
)
parameter
).
UdtTypeName
=
"
GEOMETRY
"
;
((
SqlParameter
)
parameter
).
UdtTypeName
=
"
geometry
"
;
}
}
/// <summary>
...
...
Dapper.SqlBuilder/Properties/AssemblyInfo.cs
View file @
51192328
...
...
@@ -31,5 +31,5 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[
assembly
:
AssemblyVersion
(
"1.3
8
.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.3
8
.0.0"
)]
[
assembly
:
AssemblyVersion
(
"1.3
9
.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.3
9
.0.0"
)]
Dapper.StrongName.nuspec
View file @
51192328
...
...
@@ -2,7 +2,7 @@
<package
xmlns=
"http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"
>
<metadata
schemaVersion=
"2"
>
<id>
Dapper.StrongName
</id>
<version>
1.3
8
</version>
<version>
1.3
9
</version>
<title>
Dapper dot net (strong named)
</title>
<authors>
Sam Saffron,Marc Gravell
</authors>
<owners>
Sam Saffron,Marc Gravell
</owners>
...
...
DapperTests NET35/Properties/AssemblyInfo.cs
View file @
51192328
...
...
@@ -31,5 +31,5 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[
assembly
:
AssemblyVersion
(
"1.3
8
.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.3
8
.0.0"
)]
[
assembly
:
AssemblyVersion
(
"1.3
9
.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.3
9
.0.0"
)]
DapperTests NET45/Properties/AssemblyInfo.cs
View file @
51192328
...
...
@@ -31,5 +31,5 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[
assembly
:
AssemblyVersion
(
"1.3
8
.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.3
8
.0.0"
)]
[
assembly
:
AssemblyVersion
(
"1.3
9
.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.3
9
.0.0"
)]
Tests/Properties/AssemblyInfo.cs
View file @
51192328
...
...
@@ -31,5 +31,5 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[
assembly
:
AssemblyVersion
(
"1.3
8
.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.3
8
.0.0"
)]
[
assembly
:
AssemblyVersion
(
"1.3
9
.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.3
9
.0.0"
)]
Tests/Tests.cs
View file @
51192328
...
...
@@ -3006,6 +3006,7 @@ public void TestDoubleDecimalConversions_SO18228523_Nulls()
public
void
TestParameterInclusionNotSensitiveToCurrentCulture
()
{
// note this might fail if your database server is case-sensitive
CultureInfo
current
=
Thread
.
CurrentThread
.
CurrentCulture
;
try
{
...
...
@@ -4145,6 +4146,7 @@ public void ExplicitConstructors()
public
void
Issue220_InParameterCanBeSpecifiedInAnyCase
()
{
// note this might fail if your database server is case-sensitive
connection
.
Query
<
int
>(
"select * from (select 1 as Id) as X where Id in @ids"
,
new
{
Ids
=
new
[]
{
1
}})
.
IsSequenceEqualTo
(
new
[]
{
1
});
}
...
...
dapper.nuspec
View file @
51192328
...
...
@@ -2,7 +2,7 @@
<package
xmlns=
"http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"
>
<metadata
schemaVersion=
"2"
>
<id>
Dapper
</id>
<version>
1.3
8
</version>
<version>
1.3
9
</version>
<title>
Dapper dot net
</title>
<authors>
Sam Saffron,Marc Gravell
</authors>
<owners>
Sam Saffron,Marc Gravell
</owners>
...
...
@@ -19,6 +19,7 @@
<frameworkAssembly
assemblyName=
"Microsoft.CSharp"
targetFramework=
".NETFramework4.0-Client, .NETFramework4.0"
/>
</frameworkAssemblies>
<releaseNotes>
* 1.39 - fix case on SQL CLR types; grid-reader should respect no-cache flags; make parameter inclusion case-insensitive
* 1.38 - specify constructor explicitly; allow value-type parameters (albeit: boxed)
* 1.37 - Reuse StringBuilder instances when possible (list parameters in particular)
* 1.36 - Fix Issue 192 (expanded parameter naming glitch) and Issue 178 (execute reader now wraps the command/reader pair, to extend the command lifetime;
...
...
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