Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Dapper
提交
4d932b58
D
Dapper
项目概览
int
/
Dapper
11 个月 前同步成功
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Dapper
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4d932b58
编写于
7月 24, 2016
作者:
M
Marc Gravell
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Repackage Dapper.EF to fix System.Runtime; deploy as .52; fix xunit refs; add test for #570
上级
e15cb95d
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
40 addition
and
20 deletion
+40
-20
Dapper.EntityFramework.StrongName/project.json
Dapper.EntityFramework.StrongName/project.json
+0
-1
Dapper.EntityFramework/project.json
Dapper.EntityFramework/project.json
+0
-1
Dapper.Tests.Contrib/project.json
Dapper.Tests.Contrib/project.json
+5
-2
Dapper.Tests/Tests.cs
Dapper.Tests/Tests.cs
+16
-0
Dapper.Tests/project.json
Dapper.Tests/project.json
+19
-16
未找到文件。
Dapper.EntityFramework.StrongName/project.json
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录