C# Class IvtLibrary.Models.BookRepository

Inheritance: IBookRepository
Afficher le fichier Open project: intervals-mining-lab/ivt-library

Méthodes publiques

Méthode Description
AllIncluding ( ) : IQueryable
BookRepository ( IvtLibraryEntities db ) : System
Delete ( int id ) : void
Find ( int id ) : Book
InsertOrUpdate ( Book book ) : void
Save ( ) : void

Method Details

AllIncluding() public méthode

public AllIncluding ( ) : IQueryable
Résultat IQueryable

BookRepository() public méthode

public BookRepository ( IvtLibraryEntities db ) : System
db IvtLibraryEntities
Résultat System

Delete() public méthode

public Delete ( int id ) : void
id int
Résultat void

Find() public méthode

public Find ( int id ) : Book
id int
Résultat Book

InsertOrUpdate() public méthode

public InsertOrUpdate ( Book book ) : void
book Book
Résultat void

Save() public méthode

public Save ( ) : void
Résultat void