IUnitOfWork Interface

Template MVC

IUnitOfWork Interface

Defines the UnitOfWork functions and repostories will work with

Namespace:  Template.Repository.Core.Interface
Assembly:  Template.Repository (in Template.Repository.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public interface IUnitOfWork : IDisposable

The IUnitOfWork type exposes the following members.

Properties
  NameDescription
Public propertyMovies
MoviesRepository
Public propertyMoviesCategory
MoviesCategoryRepository
Top
Methods
  NameDescription
Public methodCommit
Save changes across all the repositories in one transaction
Top
See Also