Skip to content

Commit f500bee

Browse files
HenkKinHenk Kin
andauthored
Update to .net 6.0 (#4)
Co-authored-by: Henk Kin <[email protected]>
1 parent 74a8f04 commit f500bee

26 files changed

+171
-108
lines changed

DataAccessClient.EntityFrameworkCore.SqlServer.Tests/Configuration/EntityBehaviors/CreatableEntityBehaviorConfigurationTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void ModelBuilder_IsCreatable_WhenCalled_ItShouldSetIdentifiableConfigura
4747
public void EntityTypeBuilder_IsCreatable_WhenNotCalled_ItShouldHaveNoConfiguration()
4848
{
4949
// Arrange
50-
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), ConfigurationSource.Explicit);
50+
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
5151

5252
// Act
5353
var result = new EntityTypeBuilder<TestEntity>(entityType);
@@ -61,7 +61,7 @@ public void EntityTypeBuilder_IsCreatable_WhenNotCalled_ItShouldHaveNoConfigurat
6161
public void EntityTypeBuilder_IsCreatable_WhenCalled_ItShouldSetIdentifiableConfiguration()
6262
{
6363
// Arrange
64-
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), ConfigurationSource.Explicit);
64+
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
6565
var entityTypeBuilder = new EntityTypeBuilder<TestEntity>(entityType);
6666

6767
// Act

DataAccessClient.EntityFrameworkCore.SqlServer.Tests/Configuration/EntityBehaviors/IdentifiableEntityBehaviorConfigurationTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public void ModelBuilder_IsIdentifiable_WhenCalled_ItShouldSetIdentifiableConfig
4343
public void EntityTypeBuilder_IsIdentifiable_WhenNotCalled_ItShouldHaveNoConfiguration()
4444
{
4545
// Arrange
46-
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), ConfigurationSource.Explicit);
46+
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
4747

4848
// Act
4949
var result = new EntityTypeBuilder<TestEntity>(entityType);
@@ -56,7 +56,7 @@ public void EntityTypeBuilder_IsIdentifiable_WhenNotCalled_ItShouldHaveNoConfigu
5656
public void EntityTypeBuilder_IsIdentifiable_WhenCalled_ItShouldSetIdentifiableConfiguration()
5757
{
5858
// Arrange
59-
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), ConfigurationSource.Explicit);
59+
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
6060
var entityTypeBuilder = new EntityTypeBuilder<TestEntity>(entityType);
6161

6262
// Act

DataAccessClient.EntityFrameworkCore.SqlServer.Tests/Configuration/EntityBehaviors/LocalizableEntityBehaviorConfigurationTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void ModelBuilder_IsLocalizable_WhenCalled_ItShouldSetLocalizableConfigur
4747
public void EntityTypeBuilder_IsLocalizable_WhenNotCalled_ItShouldHaveNoConfiguration()
4848
{
4949
// Arrange
50-
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), ConfigurationSource.Explicit);
50+
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
5151

5252
// Act
5353
var result = new EntityTypeBuilder<TestEntityView>(entityType);
@@ -62,7 +62,7 @@ public void EntityTypeBuilder_IsLocalizable_WhenNotCalled_ItShouldHaveNoConfigur
6262
public void EntityTypeBuilder_IsLocalizable_WhenCalled_ItShouldSetLocalizableConfiguration()
6363
{
6464
// Arrange
65-
var entityType = new EntityType(typeof(TestEntityView), new Model(new ConventionSet()), ConfigurationSource.Explicit);
65+
var entityType = new EntityType(typeof(TestEntityView), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
6666
var entityTypeBuilder = new EntityTypeBuilder<TestEntityView>(entityType);
6767

6868
// Act

DataAccessClient.EntityFrameworkCore.SqlServer.Tests/Configuration/EntityBehaviors/ModifableEntityBehaviorConfigurationTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void ModelBuilder_IsModifiable_WhenCalled_ItShouldSetModifiableConfigurat
4747
public void EntityTypeBuilder_IsModifiable_WhenNotCalled_ItShouldHaveNoConfiguration()
4848
{
4949
// Arrange
50-
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), ConfigurationSource.Explicit);
50+
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
5151

5252
// Act
5353
var result = new EntityTypeBuilder<TestEntity>(entityType);
@@ -61,7 +61,7 @@ public void EntityTypeBuilder_IsModifiable_WhenNotCalled_ItShouldHaveNoConfigura
6161
public void EntityTypeBuilder_IsModifiable_WhenCalled_ItShouldSetModifiableConfiguration()
6262
{
6363
// Arrange
64-
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), ConfigurationSource.Explicit);
64+
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
6565
var entityTypeBuilder = new EntityTypeBuilder<TestEntity>(entityType);
6666

6767
// Act

DataAccessClient.EntityFrameworkCore.SqlServer.Tests/Configuration/EntityBehaviors/RowVersionableEntityBehaviorConfigurationTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public void ModelBuilder_IsRowVersionable_WhenCalled_ItShouldSetIdentifiableConf
4343
public void EntityTypeBuilder_IsRowVersionable_WhenNotCalled_ItShouldHaveNoConfiguration()
4444
{
4545
// Arrange
46-
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), ConfigurationSource.Explicit);
46+
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
4747

4848
// Act
4949
var result = new EntityTypeBuilder<TestEntity>(entityType);
@@ -56,7 +56,7 @@ public void EntityTypeBuilder_IsRowVersionable_WhenNotCalled_ItShouldHaveNoConfi
5656
public void EntityTypeBuilder_IsRowVersionable_WhenCalled_ItShouldSetIdentifiableConfiguration()
5757
{
5858
// Arrange
59-
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), ConfigurationSource.Explicit);
59+
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
6060
var entityTypeBuilder = new EntityTypeBuilder<TestEntity>(entityType);
6161

6262
// Act

DataAccessClient.EntityFrameworkCore.SqlServer.Tests/Configuration/EntityBehaviors/SoftDeletableEntityBehaviorConfigurationTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void ModelBuilder_IsSoftDeletable_WhenCalled_ItShouldSetSoftDeletableConf
5858
public void EntityTypeBuilder_IsSoftDeletable_WhenNotCalled_ItShouldHaveNoConfiguration()
5959
{
6060
// Arrange
61-
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), ConfigurationSource.Explicit);
61+
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
6262

6363
// Act
6464
var result = new EntityTypeBuilder<TestEntity>(entityType);
@@ -75,7 +75,7 @@ public void EntityTypeBuilder_IsSoftDeletable_WhenNotCalled_ItShouldHaveNoConfig
7575
public void EntityTypeBuilder_IsSoftDeletable_WhenCalled_ItShouldSetSoftDeletableConfiguration()
7676
{
7777
// Arrange
78-
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), ConfigurationSource.Explicit);
78+
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
7979
var entityTypeBuilder = new EntityTypeBuilder<TestEntity>(entityType);
8080

8181
// Act

DataAccessClient.EntityFrameworkCore.SqlServer.Tests/Configuration/EntityBehaviors/TenantScopeableEntityBehaviorConfigurationTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void ModelBuilder_IsTenantScopable_WhenCalled_ItShouldSetTenantScopableCo
4747
public void EntityTypeBuilder_IsTenantScopable_WhenNotCalled_ItShouldHaveNoConfiguration()
4848
{
4949
// Arrange
50-
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), ConfigurationSource.Explicit);
50+
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
5151

5252
// Act
5353
var result = new EntityTypeBuilder<TestEntity>(entityType);
@@ -62,7 +62,7 @@ public void EntityTypeBuilder_IsTenantScopable_WhenNotCalled_ItShouldHaveNoConfi
6262
public void EntityTypeBuilder_IsTenantScopable_WhenCalled_ItShouldSetTenantScopableConfiguration()
6363
{
6464
// Arrange
65-
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), ConfigurationSource.Explicit);
65+
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
6666
var entityTypeBuilder = new EntityTypeBuilder<TestEntity>(entityType);
6767

6868
// Act

DataAccessClient.EntityFrameworkCore.SqlServer.Tests/Configuration/EntityBehaviors/TranslatableEntityBehaviorConfigurationTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public void ModelBuilder_IsTranslatable_WhenCalled_ItShouldSetTranslatableConfig
4949
public void EntityTypeBuilder_IsTranslatable_WhenNotCalled_ItShouldHaveNoConfiguration()
5050
{
5151
// Arrange
52-
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), ConfigurationSource.Explicit);
52+
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
5353

5454
// Act
5555
var result = new EntityTypeBuilder<TestEntity>(entityType);
@@ -62,7 +62,7 @@ public void EntityTypeBuilder_IsTranslatable_WhenNotCalled_ItShouldHaveNoConfigu
6262
public void EntityTypeBuilder_IsTranslatable_WhenCalled_ItShouldSetTranslatableConfiguration()
6363
{
6464
// Arrange
65-
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), ConfigurationSource.Explicit);
65+
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
6666
var entityTypeBuilder = new EntityTypeBuilder<TestEntity>(entityType);
6767

6868
// Act
@@ -77,7 +77,7 @@ public void EntityTypeBuilder_IsTranslatable_WhenCalled_ItShouldSetTranslatableC
7777
public void EntityTypeBuilder_IsEntityTranslation_WhenNotCalled_ItShouldHaveNoConfiguration()
7878
{
7979
// Arrange
80-
var entityType = new EntityType(typeof(TestEntityTranslation), new Model(new ConventionSet()), ConfigurationSource.Explicit);
80+
var entityType = new EntityType(typeof(TestEntityTranslation), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
8181

8282
// Act
8383
var result = new EntityTypeBuilder<TestEntityTranslation>(entityType);
@@ -92,7 +92,7 @@ public void EntityTypeBuilder_IsEntityTranslation_WhenNotCalled_ItShouldHaveNoCo
9292
public void EntityTypeBuilder_IsEntityTranslation_WhenCalled_ItShouldSetTranslatableConfiguration()
9393
{
9494
// Arrange
95-
var entityType = new EntityType(typeof(TestEntityTranslation), new Model(new ConventionSet()), ConfigurationSource.Explicit);
95+
var entityType = new EntityType(typeof(TestEntityTranslation), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
9696
var entityTypeBuilder = new EntityTypeBuilder<TestEntityTranslation>(entityType);
9797

9898
// Act

DataAccessClient.EntityFrameworkCore.SqlServer.Tests/Configuration/EntityBehaviors/TranslatedPropertyEntityBehaviorConfigurationTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public void ModelBuilder_ConfigureEntityBehaviorTranslatedProperties_WhenCalled_
4141
public void EntityTypeBuilder_HasTranslatedProperties_WhenNotCalled_ItShouldHaveNoConfiguration()
4242
{
4343
// Arrange
44-
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), ConfigurationSource.Explicit);
44+
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
4545

4646
// Act
4747
var result = new EntityTypeBuilder<TestEntity>(entityType);
@@ -54,7 +54,7 @@ public void EntityTypeBuilder_HasTranslatedProperties_WhenNotCalled_ItShouldHave
5454
public void EntityTypeBuilder_HasTranslatedProperties_WhenCalled_ItShouldConfigureTranslatedProperties()
5555
{
5656
// Arrange
57-
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), ConfigurationSource.Explicit);
57+
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
5858
var entityTypeBuilder = new EntityTypeBuilder<TestEntity>(entityType);
5959

6060
// Act

DataAccessClient.EntityFrameworkCore.SqlServer.Tests/Configuration/EntityBehaviors/UtcDateTimePropertyEntityBehaviorConfigurationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void ModelBuilder_ConfigureHasUtcDateTimeProperties_WhenCalled_ItShouldSe
4747
public void EntityTypeBuilder_HasUtcDateTimeProperties_WhenNotCalled_ItShouldHaveNoConfiguration()
4848
{
4949
// Arrange
50-
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), ConfigurationSource.Explicit);
50+
var entityType = new EntityType(typeof(TestEntity), new Model(new ConventionSet()), false, ConfigurationSource.Explicit);
5151

5252
// Act
5353
var result = new EntityTypeBuilder<TestEntity>(entityType);

DataAccessClient.EntityFrameworkCore.SqlServer.Tests/DataAccessClient.EntityFrameworkCore.SqlServer.Tests.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="5.0.0-rc.2.*" />
11-
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="5.0.0-rc.2.*" />
12-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.0-preview-20201020-06" />
13-
<PackageReference Include="Moq" Version="4.15.1" />
14-
<PackageReference Include="Moq.AutoMock" Version="2.1.0" />
10+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.0" />
11+
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="6.0.0" />
12+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
13+
<PackageReference Include="Moq" Version="4.16.1" />
14+
<PackageReference Include="Moq.AutoMock" Version="3.1.0" />
1515
<PackageReference Include="xunit" Version="2.4.1" />
1616
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
1717
<PrivateAssets>all</PrivateAssets>
1818
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1919
</PackageReference>
20-
<PackageReference Include="coverlet.collector" Version="1.3.0">
20+
<PackageReference Include="coverlet.collector" Version="3.1.0">
2121
<PrivateAssets>all</PrivateAssets>
2222
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2323
</PackageReference>

DataAccessClient.EntityFrameworkCore.SqlServer/DataAccessClient.EntityFrameworkCore.SqlServer.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.1</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<Authors>Henk Kin</Authors>
66
<Description>Provides implementation for Data Access with EntityFrameworkCore.SqlServer. It provides implementation for IRepository&lt;T&gt; and DbContext. It also provides extension methods for IServiceCollection to easily adding types to .NET Core DependencyInjection. Is also supports using multiple DbContexts within same IUnitOfWork.</Description>
77
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -13,18 +13,18 @@
1313
<PackageReleaseNotes></PackageReleaseNotes>
1414
<Copyright>Henk Kin</Copyright>
1515
<PackageTags>EntityFrameworkCore, EF, SqlServer, DependencyInjection, Multiple DbContext support, DataAccess, Repository, UnitOfWork, SoftDelete, Translation, Localization, RowVersioning, Multitenancy, Filtering, Paging, Sorting, Includes</PackageTags>
16-
<Version>5.0.0</Version>
16+
<Version>6.0.0</Version>
1717
<PublishRepositoryUrl>true</PublishRepositoryUrl>
1818
<EmbedUntrackedSources>true</EmbedUntrackedSources>
1919
<IncludeSymbols>true</IncludeSymbols>
2020
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2121
</PropertyGroup>
2222
<ItemGroup>
23-
<PackageReference Include="EntityCloner.Microsoft.EntityFrameworkCore" Version="5.0.0" />
24-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.0-beta-20204-02" PrivateAssets="All" />
25-
<PackageReference Include="LinqKit.Microsoft.EntityFrameworkCore" Version="5.0.20" />
26-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="3.8.0-5.final" />
27-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="5.0.0" />
23+
<PackageReference Include="EntityCloner.Microsoft.EntityFrameworkCore" Version="6.0.0" />
24+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
25+
<PackageReference Include="LinqKit.Microsoft.EntityFrameworkCore" Version="6.0.27" />
26+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.0.1" />
27+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.0" />
2828
</ItemGroup>
2929

3030
<ItemGroup>

DataAccessClient.EntityFrameworkCore.SqlServer/Infrastructure/DataAccessClientOptionsExtension.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public virtual void Validate(IDbContextOptions options)
5353

5454
private sealed class ExtensionInfo : DbContextOptionsExtensionInfo
5555
{
56-
private long? _serviceProviderHash;
56+
private int? _serviceProviderHash;
5757
private string _logFragment;
5858

5959
public ExtensionInfo(DataAccessClientOptionsExtension extension)
@@ -100,11 +100,11 @@ public override void PopulateDebugInfo(IDictionary<string, string> debugInfo)
100100
hashCode.ToString(CultureInfo.InvariantCulture);
101101
}
102102

103-
public override long GetServiceProviderHashCode()
103+
public override int GetServiceProviderHashCode()
104104
{
105105
if (_serviceProviderHash == null)
106106
{
107-
var hashCode = Extension.EntityBehaviors?.GetHashCode() ?? 0L;
107+
var hashCode = Extension.EntityBehaviors?.GetHashCode() ?? 0;
108108
if (Extension.EntityBehaviors != null)
109109
{
110110
foreach (var entityBehaviorConfiguration in Extension.EntityBehaviors)
@@ -118,6 +118,9 @@ public override long GetServiceProviderHashCode()
118118

119119
return _serviceProviderHash.Value;
120120
}
121+
122+
public override bool ShouldUseSameServiceProvider(DbContextOptionsExtensionInfo other)
123+
=> other is DbContextOptionsExtensionInfo;// RelationalExtensionInfo;
121124
}
122125
}
123126
}

DataAccessClient.EntityFrameworkCore.SqlServer/SqlServerDbContext.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ static SqlServerDbContext()
3636

3737
private readonly Action _dbContextResetStateMethod;
3838
private readonly Func<CancellationToken, Task> _dbContextResetStateAsyncMethod;
39-
private readonly Action<DbContextPoolConfigurationSnapshot> _dbContextResurrectMethod;
4039

4140
internal readonly DataAccessClientOptionsExtension DataAccessClientOptionsExtension;
4241

DataAccessClient.Tests/DataAccessClient.Tests.csproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="5.0.0-rc.2.*" />
11-
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="5.0.0-rc.2.*" />
12-
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.0-rc.2.*" />
13-
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="5.0.0-rc.2.*" />
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.0-preview-20201020-06" />
15-
<PackageReference Include="Moq" Version="4.15.1" />
10+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.0" />
11+
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="6.0.0" />
12+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" />
13+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" />
14+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
15+
<PackageReference Include="Moq" Version="4.16.1" />
1616
<PackageReference Include="xunit" Version="2.4.1" />
1717
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
1818
<PrivateAssets>all</PrivateAssets>
1919
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2020
</PackageReference>
21-
<PackageReference Include="coverlet.collector" Version="1.3.0">
21+
<PackageReference Include="coverlet.collector" Version="3.1.0">
2222
<PrivateAssets>all</PrivateAssets>
2323
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2424
</PackageReference>

0 commit comments

Comments
 (0)