This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace WhiskeyRecommender.Persistence | |
{ | |
/// <summary> | |
/// A <see cref="IUnitOfWork"/> wraps a database transaction and provides access to the objects via a repository pattern. | |
/// | |
/// This class implements <see cref="IDisposable"/> to allow use inside <c>using</c> blocks, and should automatically | |
/// close the database transaction (without saving) when disposed. | |
/// </summary> | |
public interface IUnitOfWork : IDisposable | |
{ |
NewerOlder