Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jobily
Efcore.Pg
提交
0ac0063c
E
Efcore.Pg
项目概览
jobily
/
Efcore.Pg
12 个月 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
Efcore.Pg
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0ac0063c
编写于
3月 10, 2018
作者:
S
Shay Rojansky
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Sync to 2.1.0-preview2-30285
上级
d4688930
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
22 addition
and
31 deletion
+22
-31
src/EFCore.PG/EFCore.PG.csproj
src/EFCore.PG/EFCore.PG.csproj
+2
-2
src/EFCore.PG/Metadata/Conventions/NpgsqlConventionSetBuilder.cs
...ore.PG/Metadata/Conventions/NpgsqlConventionSetBuilder.cs
+0
-4
src/EFCore.PG/Storage/Internal/Mapping/NpgsqlDateTimeTypeMapping.cs
....PG/Storage/Internal/Mapping/NpgsqlDateTimeTypeMapping.cs
+1
-1
src/EFCore.PG/Storage/Internal/Mapping/NpgsqlRangeTypeMapping.cs
...ore.PG/Storage/Internal/Mapping/NpgsqlRangeTypeMapping.cs
+1
-1
src/EFCore.PG/Storage/Internal/Mapping/NpgsqlTypeMapping.cs
src/EFCore.PG/Storage/Internal/Mapping/NpgsqlTypeMapping.cs
+1
-1
src/EFCore.PG/Storage/Internal/NpgsqlTypeMappingSource.cs
src/EFCore.PG/Storage/Internal/NpgsqlTypeMappingSource.cs
+2
-2
test/EFCore.PG.FunctionalTests/EFCore.PG.FunctionalTests.csproj
...FCore.PG.FunctionalTests/EFCore.PG.FunctionalTests.csproj
+5
-5
test/EFCore.PG.FunctionalTests/Scaffolding/NpgsqlDatabaseModelFactoryTest.cs
...tionalTests/Scaffolding/NpgsqlDatabaseModelFactoryTest.cs
+1
-3
test/EFCore.PG.Tests/EFCore.PG.Tests.csproj
test/EFCore.PG.Tests/EFCore.PG.Tests.csproj
+4
-4
test/EFCore.PG.Tests/Storage/NpgsqlTypeMappingTest.cs
test/EFCore.PG.Tests/Storage/NpgsqlTypeMappingTest.cs
+2
-3
test/EFCore.PG.Tests/Update/NpgsqlModificationCommandBatchFactoryTest.cs
...Tests/Update/NpgsqlModificationCommandBatchFactoryTest.cs
+2
-4
test/EFCore.PG.Tests/Update/NpgsqlModificationCommandBatchTest.cs
...ore.PG.Tests/Update/NpgsqlModificationCommandBatchTest.cs
+1
-1
未找到文件。
src/EFCore.PG/EFCore.PG.csproj
浏览文件 @
0ac0063c
...
...
@@ -26,8 +26,8 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.1.0-preview2-30
183
" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="2.1.0-preview2-30
183
" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.1.0-preview2-30
285
" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="2.1.0-preview2-30
285
" />
<PackageReference Include="Npgsql" Version="3.2.7" />
</ItemGroup>
...
...
src/EFCore.PG/Metadata/Conventions/NpgsqlConventionSetBuilder.cs
浏览文件 @
0ac0063c
...
...
@@ -23,10 +23,6 @@
using
JetBrains.Annotations
;
using
Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal
;
using
Microsoft.EntityFrameworkCore.Metadata.Internal
;
using
Microsoft.EntityFrameworkCore.Storage
;
using
Microsoft.EntityFrameworkCore.Storage.Converters
;
using
Microsoft.EntityFrameworkCore.Storage.Internal
;
using
Microsoft.EntityFrameworkCore.Utilities
;
using
Microsoft.Extensions.DependencyInjection
;
...
...
src/EFCore.PG/Storage/Internal/Mapping/NpgsqlDateTimeTypeMapping.cs
浏览文件 @
0ac0063c
using
System
;
using
Microsoft.EntityFrameworkCore.Storage.
Converters
;
using
Microsoft.EntityFrameworkCore.Storage.
ValueConversion
;
using
NpgsqlTypes
;
namespace
Microsoft.EntityFrameworkCore.Storage.Internal.Mapping
...
...
src/EFCore.PG/Storage/Internal/Mapping/NpgsqlRangeTypeMapping.cs
浏览文件 @
0ac0063c
...
...
@@ -25,7 +25,7 @@
using
System.Text
;
using
JetBrains.Annotations
;
using
Microsoft.EntityFrameworkCore.ChangeTracking
;
using
Microsoft.EntityFrameworkCore.Storage.
Converters
;
using
Microsoft.EntityFrameworkCore.Storage.
ValueConversion
;
using
NpgsqlTypes
;
namespace
Microsoft.EntityFrameworkCore.Storage.Internal
...
...
src/EFCore.PG/Storage/Internal/Mapping/NpgsqlTypeMapping.cs
浏览文件 @
0ac0063c
...
...
@@ -26,7 +26,7 @@
using
System.Data.Common
;
using
JetBrains.Annotations
;
using
Microsoft.EntityFrameworkCore.ChangeTracking
;
using
Microsoft.EntityFrameworkCore.Storage.
Converters
;
using
Microsoft.EntityFrameworkCore.Storage.
ValueConversion
;
using
Npgsql
;
using
NpgsqlTypes
;
...
...
src/EFCore.PG/Storage/Internal/NpgsqlTypeMappingSource.cs
浏览文件 @
0ac0063c
...
...
@@ -240,7 +240,7 @@ protected override RelationalTypeMapping FindMapping(RelationalTypeMappingInfo m
{
RelationalTypeMapping
mapping
;
var
clrType
=
mappingInfo
.
Provider
ClrType
;
var
clrType
=
mappingInfo
.
ClrType
;
var
storeTypeName
=
mappingInfo
.
StoreTypeName
;
var
storeTypeNameBase
=
mappingInfo
.
StoreTypeNameBase
;
...
...
@@ -311,7 +311,7 @@ RelationalTypeMapping FindArrayMapping(RelationalTypeMappingInfo mappingInfo)
return
_storeTypeMappings
.
GetOrAdd
(
storeType
,
new
NpgsqlArrayTypeMapping
(
storeType
,
elementMapping
));
}
var
clrType
=
mappingInfo
.
Provider
ClrType
;
var
clrType
=
mappingInfo
.
ClrType
;
if
(
clrType
==
null
)
return
null
;
...
...
test/EFCore.PG.FunctionalTests/EFCore.PG.FunctionalTests.csproj
浏览文件 @
0ac0063c
...
...
@@ -24,11 +24,11 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.1.0-preview2-30
183
" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="2.1.0-preview2-30
183
" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational.Specification.Tests" Version="2.1.0-preview2-30
183
" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.1.0-preview2-30
183
" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="2.1.0-preview2-30
183
" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.1.0-preview2-30
285
" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="2.1.0-preview2-30
285
" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational.Specification.Tests" Version="2.1.0-preview2-30
285
" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.1.0-preview2-30
285
" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="2.1.0-preview2-30
285
" />
</ItemGroup>
</Project>
test/EFCore.PG.FunctionalTests/Scaffolding/NpgsqlDatabaseModelFactoryTest.cs
浏览文件 @
0ac0063c
...
...
@@ -8,12 +8,10 @@
using
Microsoft.EntityFrameworkCore.Migrations
;
using
Microsoft.EntityFrameworkCore.Scaffolding.Internal
;
using
Microsoft.EntityFrameworkCore.Scaffolding.Metadata
;
using
Microsoft.EntityFrameworkCore.Scaffolding.Metadata.Internal
;
using
Microsoft.EntityFrameworkCore.Storage
;
using
Microsoft.EntityFrameworkCore.Storage.Converters
;
using
Microsoft.EntityFrameworkCore.Storage.Internal
;
using
Microsoft.EntityFrameworkCore.Storage.ValueConversion
;
using
Microsoft.EntityFrameworkCore.TestUtilities
;
using
Microsoft.EntityFrameworkCore.TestUtilities.Xunit
;
using
Microsoft.Extensions.Logging
;
using
Xunit
;
...
...
test/EFCore.PG.Tests/EFCore.PG.Tests.csproj
浏览文件 @
0ac0063c
...
...
@@ -20,10 +20,10 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="2.1.0-preview2-30
183
" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.1.0-preview2-30
183
" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="2.1.0-preview2-30
183
" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational.Specification.Tests" Version="2.1.0-preview2-30
183
" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="2.1.0-preview2-30
285
" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.1.0-preview2-30
285
" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="2.1.0-preview2-30
285
" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational.Specification.Tests" Version="2.1.0-preview2-30
285
" />
</ItemGroup>
</Project>
test/EFCore.PG.Tests/Storage/NpgsqlTypeMappingTest.cs
浏览文件 @
0ac0063c
...
...
@@ -3,9 +3,8 @@
using
System.Collections.Generic
;
using
System.Net
;
using
System.Net.NetworkInformation
;
using
Microsoft.EntityFrameworkCore.Storage.Converters
;
using
Microsoft.EntityFrameworkCore.Storage.Internal
;
using
Microsoft.EntityFrameworkCore.
TestUtilities
;
using
Microsoft.EntityFrameworkCore.
Storage.ValueConversion
;
using
NpgsqlTypes
;
using
Xunit
;
...
...
@@ -194,7 +193,7 @@ public void ValueComparer_hstore()
{
"k1"
,
"v1"
},
{
"k2"
,
"v2"
}
};
var
comparer
=
GetMapping
(
"hstore"
).
Comparer
;
var
snapshot
=
(
Dictionary
<
string
,
string
>)
comparer
.
SnapshotFunc
(
source
);
Assert
.
Equal
(
source
,
snapshot
);
...
...
test/EFCore.PG.Tests/Update/NpgsqlModificationCommandBatchFactoryTest.cs
浏览文件 @
0ac0063c
using
Microsoft.EntityFrameworkCore
;
using
Microsoft.EntityFrameworkCore.Storage
;
using
Microsoft.EntityFrameworkCore.Storage.Converters
;
using
Microsoft.EntityFrameworkCore.Storage
;
using
Microsoft.EntityFrameworkCore.Storage.Internal
;
using
Microsoft.EntityFrameworkCore.Storage.ValueConversion
;
using
Microsoft.EntityFrameworkCore.TestUtilities
;
using
Microsoft.EntityFrameworkCore.Update
;
using
Microsoft.EntityFrameworkCore.Update.Internal
;
using
Xunit
;
...
...
test/EFCore.PG.Tests/Update/NpgsqlModificationCommandBatchTest.cs
浏览文件 @
0ac0063c
using
Microsoft.EntityFrameworkCore
;
using
Microsoft.EntityFrameworkCore.Storage
;
using
Microsoft.EntityFrameworkCore.Storage.Converters
;
using
Microsoft.EntityFrameworkCore.Storage.Internal
;
using
Microsoft.EntityFrameworkCore.Storage.ValueConversion
;
using
Microsoft.EntityFrameworkCore.Update
;
using
Microsoft.EntityFrameworkCore.Update.Internal
;
using
Microsoft.EntityFrameworkCore.TestUtilities
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录