Skip to content

Commit 0fdc9c6

Browse files
committed
Update Ef6.4 and Autofac 5
1 parent f589b6b commit 0fdc9c6

3 files changed

Lines changed: 13 additions & 10 deletions

File tree

SharpRepository.EfRepository/SharpRepository.EfRepository.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
<Description>SharpRepository generic repository implemented with Entity Framework 6</Description>
77
<Summary>Written in C#, includes support for various relational, document and object databases including Entity Framework, RavenDB, MongoDB, CouchDB and Db4o. SharpRepository includes Xml and InMemory repository implementations as well. SharpRepository offers built-in caching options for AppFabric, memcached and the standard System.Runtime.Caching. SharpRepository also supports Specifications, FetchStrategies, Batches and Traits!</Summary>
88
<PackageId>SharpRepository.EfRepository</PackageId>
9-
<PackageVersion>2.1.2</PackageVersion>
10-
<PackageReleaseNotes>2.1: update to EF6.3 that supports Core 3, compatibilty with generic dependency resolver, AsNoTracking fetch strategy</PackageReleaseNotes>
9+
<PackageVersion>2.1.3</PackageVersion>
10+
<PackageReleaseNotes>2.1: update to EF6.4 that supports Core 3, compatibilty with generic dependency resolver, AsNoTracking fetch strategy</PackageReleaseNotes>
1111
<PackageTags>SharpRepository Repository EfRepository EntityFramework Entity Framework EF6</PackageTags>
1212
<PackageIconUrl>https://user-images.githubusercontent.com/6349515/28491142-7b6350c4-6eeb-11e7-9c5b-e3b8ef1e73b8.png</PackageIconUrl>
1313
<PackageProjectUrl>https://github.com/SharpRepository/SharpRepository</PackageProjectUrl>
1414
<PackageLicenseUrl>https://raw.githubusercontent.com/SharpRepository/SharpRepository/master/license.txt</PackageLicenseUrl>
1515
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
1616
<RepositoryUrl>https://github.com/SharpRepository/SharpRepository.git</RepositoryUrl>
1717
<RepositoryType>git</RepositoryType>
18-
<Version>2.1.1</Version>
18+
<Version>2.1.3</Version>
1919
</PropertyGroup>
2020

2121
<ItemGroup>
@@ -26,7 +26,7 @@
2626
</ItemGroup>
2727

2828
<ItemGroup>
29-
<PackageReference Include="EntityFramework" Version="6.3.0" />
29+
<PackageReference Include="EntityFramework" Version="6.4.0" />
3030
</ItemGroup>
3131

3232
<ItemGroup>

SharpRepository.Ioc.Autofac/SharpRepository.Ioc.Autofac.csproj

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<Description>Configures Autofac to resolve IRepository as the right configured implementation of SharpRepository</Description>
66
<Summary>Written in C#, includes support for various relational, document and object databases including Entity Framework, RavenDB, MongoDB, CouchDB and Db4o. SharpRepository includes Xml and InMemory repository implementations as well. SharpRepository offers built-in caching options for AppFabric, memcached and the standard System.Runtime.Caching. SharpRepository also supports Specifications, FetchStrategies, Batches and Traits!</Summary>
77
<PackageId>SharpRepository.Ioc.Autofac</PackageId>
8-
<PackageVersion>2.1.1</PackageVersion>
9-
<PackageReleaseNotes>2.1.0: DependencyResolver is IServiceProvider, local implementation of IRepository will not be resolver by container, update Autofac 4.9</PackageReleaseNotes>
8+
<PackageVersion>2.1.2</PackageVersion>
9+
<PackageReleaseNotes>2.1.0: DependencyResolver is IServiceProvider, local implementation of IRepository will not be resolver by container, update Autofac 4.9 and Autofac 5 for .NET Standard 2.*</PackageReleaseNotes>
1010
<PackageTags>SharpRepository Repository IoC Autofac</PackageTags>
1111
<PackageIconUrl>https://user-images.githubusercontent.com/6349515/28491142-7b6350c4-6eeb-11e7-9c5b-e3b8ef1e73b8.png</PackageIconUrl>
1212
<PackageProjectUrl>https://github.com/SharpRepository/SharpRepository</PackageProjectUrl>
@@ -16,10 +16,13 @@
1616
<RepositoryType>git</RepositoryType>
1717
<Version>2.1.0</Version>
1818
</PropertyGroup>
19-
<ItemGroup>
20-
<PackageReference Include="Autofac" Version="[4.9,5.0)" />
21-
</ItemGroup>
2219
<ItemGroup>
2320
<ProjectReference Include="..\SharpRepository.Repository\SharpRepository.Repository.csproj" />
2421
</ItemGroup>
22+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' Or '$(TargetFramework)' == 'netstandard2.1'">
23+
<PackageReference Include="Autofac" Version="5.0" />
24+
</ItemGroup>
25+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.3' Or '$(TargetFramework)' == 'net451'">
26+
<PackageReference Include="Autofac" Version="[4.9,5.0)" />
27+
</ItemGroup>
2528
</Project>

SharpRepository.Samples.Core3Mvc/SharpRepository.Samples.Core3Mvc.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="5.0.1" />
8+
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="6.0.0" />
99
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.0.0" />
1010
</ItemGroup>
1111

0 commit comments

Comments
 (0)