IMoviesCategoryRepository Interface

Template MVC

IMoviesCategoryRepository Interface

Interface to define all the IMoviesCategoryRepository database actions

Namespace:  Template.Repository.Interface
Assembly:  Template.Repository (in Template.Repository.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public interface IMoviesCategoryRepository : IGenericRepository<MOVIE_CATEGORY>

The IMoviesCategoryRepository type exposes the following members.

Methods
  NameDescription
Public methodAdd
Add a new entity to the context, it will be added to the database on Save
(Inherited from IGenericRepositoryTEntity.)
Public methodAddIEnumerable
Add a IEnumerable of new entities to the context, they will be added to the database on Save
(Inherited from IGenericRepositoryTEntity.)
Public methodDelete
Marks the given entity as deleted, the entity will be deleted on Save
(Inherited from IGenericRepositoryTEntity.)
Public methodDeleteBy
Marks the entities that match with the given predicate as deleted, they will be deleted of the database on Save
(Inherited from IGenericRepositoryTEntity.)
Public methodEdit
Marks the passed entity as Modified, the changes will persist on Save
(Inherited from IGenericRepositoryTEntity.)
Public methodFindBy
Filters the results by the passed predicate
(Inherited from IGenericRepositoryTEntity.)
Public methodGet
Gets an unique TEntity from the database
(Inherited from IGenericRepositoryTEntity.)
Public methodGetAll
Get all the results of the IEntity
(Inherited from IGenericRepositoryTEntity.)
Public methodSave
Save all the changes made to the context
(Inherited from IGenericRepositoryTEntity.)
Public methodSelectWhereTResult
This function allows to select the specific properties and filter by where clause on database, not on memory, in that way it improves the performace
(Inherited from IGenericRepositoryTEntity.)
Top
See Also