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
4d932b58
Commit
4d932b58
authored
Jul 24, 2016
by
Marc Gravell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Repackage Dapper.EF to fix System.Runtime; deploy as .52; fix xunit refs; add test for #570
parent
e15cb95d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
20 deletions
+40
-20
project.json
Dapper.EntityFramework.StrongName/project.json
+0
-1
project.json
Dapper.EntityFramework/project.json
+0
-1
project.json
Dapper.Tests.Contrib/project.json
+5
-2
Tests.cs
Dapper.Tests/Tests.cs
+16
-0
project.json
Dapper.Tests/project.json
+19
-16
No files found.
Dapper.EntityFramework.StrongName/project.json
View file @
4d932b58
...
...
@@ -55,7 +55,6 @@
"System.Configuration"
:
"4.0.0.0"
,
"System.Data"
:
"4.0.0.0"
,
"System.Data.Linq"
:
"4.0.0.0"
,
"System.Runtime"
:
"4.0.0.0"
,
"System.Xml"
:
"4.0.0.0"
},
"dependencies"
:
{
...
...
Dapper.EntityFramework/project.json
View file @
4d932b58
...
...
@@ -46,7 +46,6 @@
"System.Configuration"
:
"4.0.0.0"
,
"System.Data"
:
"4.0.0.0"
,
"System.Data.Linq"
:
"4.0.0.0"
,
"System.Runtime"
:
"4.0.0.0"
,
"System.Xml"
:
"4.0.0.0"
},
"dependencies"
:
{
...
...
Dapper.Tests.Contrib/project.json
View file @
4d932b58
...
...
@@ -25,8 +25,7 @@
"Dapper.SqlBuilder"
:
{
"target"
:
"project"
},
"xunit"
:
"2.2.0-beta2-build3300"
,
"dotnet-test-xunit"
:
"2.2.0-preview2-build1029"
"xunit"
:
"2.1.0"
},
"buildOptions"
:
{
"warningsAsErrors"
:
true
,
...
...
@@ -97,6 +96,10 @@
//
}
//
},
"netcoreapp1.0"
:
{
"imports"
:
[
"portable-net451+win8"
,
"dnxcore50"
],
"buildOptions"
:
{
"define"
:
[
"COREFX"
,
"ASYNC"
,
"XUNIT2"
]
},
...
...
Dapper.Tests/Tests.cs
View file @
4d932b58
...
...
@@ -2526,6 +2526,22 @@ public void Issue22_ExecuteScalar()
#endif
}
#if ENTITY_FRAMEWORK
public
void
Issue570_DbGeo_HasValues
()
{
Dapper
.
EntityFramework
.
Handlers
.
Register
();
string
redmond
=
"POINT (122.1215 47.6740)"
;
DbGeography
point
=
DbGeography
.
PointFromText
(
redmond
,
DbGeography
.
DefaultCoordinateSystemId
);
DbGeography
orig
=
point
.
Buffer
(
20
);
var
fromDb
=
connection
.
QuerySingle
<
DbGeography
>(
"declare @geos table(geo geography); insert @geos(geo) values(@val); select * from @geos"
,
new
{
val
=
orig
});
fromDb
.
Area
.
IsNotNull
();
fromDb
.
Area
.
IsEqualTo
(
orig
.
Area
);
}
#endif
[
Fact
]
public
void
Issue142_FailsNamedStatus
()
{
...
...
Dapper.Tests/project.json
View file @
4d932b58
...
...
@@ -22,8 +22,8 @@
"Dapper.Contrib"
:
{
"target"
:
"project"
},
"xunit"
:
"2.
1.
0"
,
"
xunit.assert"
:
"2.1.0
"
"xunit"
:
"2.
2.0-beta2-build330
0"
,
"
dotnet-test-xunit"
:
"2.2.0-preview2-build1029
"
},
"buildOptions"
:
{
"warningsAsErrors"
:
true
,
...
...
@@ -98,7 +98,6 @@
"System.Configuration"
:
"4.0.0.0"
,
"System.Data"
:
"4.0.0.0"
,
"System.Data.Linq"
:
"4.0.0.0"
,
"System.Runtime"
:
"4.0.10.0"
,
"System.Xml"
:
"4.0.0.0"
,
"System.Xml.Linq"
:
"4.0.0.0"
},
...
...
@@ -106,6 +105,7 @@
"Dapper.EntityFramework"
:
{
"target"
:
"project"
},
"System.Runtime"
:
"4.1.0"
,
"EntityFramework"
:
"6.1.3"
,
"FirebirdSql.Data.FirebirdClient"
:
"4.10.0"
,
"Microsoft.SqlServer.Compact"
:
"4.0.8876.1"
,
...
...
@@ -123,19 +123,22 @@
"Susanoo.SqlServer"
:
"1.2.4"
,
"System.Data.SQLite"
:
"1.0.99"
}
},
"netcoreapp1.0"
:
{
"imports"
:
[
"portable-net451+win8"
,
"dnxcore50"
],
"buildOptions"
:
{
"define"
:
[
"ASYNC"
,
"COREFX"
,
"XUNIT2"
,
"SQLITE"
]
},
"dependencies"
:
{
"Microsoft.NETCore.App"
:
{
"version"
:
"1.0.0"
,
"type"
:
"platform"
},
"Microsoft.Data.Sqlite"
:
"1.0.0"
}
}
//
,
//
"netcoreapp1.0"
:
{
//
"buildOptions"
:
{
//
"define"
:
[
"ASYNC"
,
"COREFX"
,
"XUNIT2"
,
"SQLITE"
]
//
},
//
"dependencies"
:
{
//
"Microsoft.NETCore.App"
:
{
//
"version"
:
"1.0.0"
,
//
"type"
:
"platform"
//
},
//
"Microsoft.Data.Sqlite"
:
"1.0.0"
//
}
//
}
}
}
\ No newline at end of file
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