Skip to content

Commit 1cc481c

Browse files
committed
obsolete methods removed
1 parent 96beedb commit 1cc481c

File tree

7 files changed

+22
-1096
lines changed

7 files changed

+22
-1096
lines changed

src/Calabonga.UnitOfWork/Calabonga.UnitOfWork.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0; net9.0</TargetFrameworks>
5-
<Version>5.0.0</Version>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
5+
<Version>6.0.0-beta.1</Version>
66
<Authors>Calabonga</Authors>
77
<Company>Calabonga SOFT</Company>
88
<Copyright>Calabonga SOFT © 2001-$([System.DateTime]::Now.ToString(yyyy))</Copyright>
99
<Description>Unit of Work implementation for EntityFramework Core. For more information please see Calabonga.UnitOfWork package.</Description>
1010
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1111
<PackageIcon>logo.png</PackageIcon>
1212
<PackageTags>Calabonga EntityFrameworkCore UnitOfWork Repository Extenstion Helper unitofowrk ORM pagination PagedList pattern</PackageTags>
13-
<PackageReleaseNotes>TrackingType parameter created to split type of changes tracking for DbContext operations: NoTraking, Tracking and NoTrackingWithIdentityResolution.</PackageReleaseNotes>
13+
<PackageReleaseNotes>Obsolete methods were removed. Please use TrackingType parameter for DbContext operations: NoTraking, Tracking and NoTrackingWithIdentityResolution.</PackageReleaseNotes>
1414
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1515
<PackageProjectUrl>https://www.calabonga.net</PackageProjectUrl>
1616
<Nullable>enable</Nullable>

src/Calabonga.UnitOfWork/IRepository.cs

Lines changed: 1 addition & 340 deletions
Large diffs are not rendered by default.

src/Calabonga.UnitOfWork/IUnitOfWork.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
using System;
2-
using System.Linq;
3-
using System.Threading.Tasks;
4-
using Microsoft.EntityFrameworkCore;
1+
using Microsoft.EntityFrameworkCore;
52
using Microsoft.EntityFrameworkCore.ChangeTracking;
63
using Microsoft.EntityFrameworkCore.Storage;
4+
using System;
5+
using System.Linq;
6+
using System.Threading.Tasks;
77

88
namespace Calabonga.UnitOfWork;
99

1010
/// <summary>
1111
/// Defines the interface(s) for generic unit of work.
1212
/// </summary>
1313
public interface IUnitOfWork<out TContext> : IUnitOfWork
14-
where TContext : DbContext
14+
where TContext : DbContext
1515
{
1616
/// <summary>
1717
/// Gets the db context.
@@ -106,5 +106,5 @@ public interface IUnitOfWork : IDisposable
106106
/// <summary>
107107
/// Last error after SaveChanges operation executed
108108
/// </summary>
109-
SaveChangesResult LastSaveChangesResult { get; }
109+
SaveChangesResult Result { get; }
110110
}

0 commit comments

Comments
 (0)