C# Class Bookstore.DataAccessLayer.BooksDAO

Afficher le fichier Open project: vladislav-karamfilov/TelerikAcademy Class Usage Examples

Méthodes publiques

Méthode Description
ComplexImportOfBook ( IList authorsNames, string title, IList reviewTransferObjects, string isbn, decimal price, string webSite ) : void
SearchBooks ( string title, string author, string isbn ) : IEnumerable
SimpleImportOfBook ( string authorName, string title, string isbn, decimal price, string webSite ) : void

Private Methods

Méthode Description
CreateOrLoadAuthor ( Bookstore.Data.BookstoreEntities context, string authorName ) : Author
SerializeToReview ( Bookstore.Data.BookstoreEntities context, ReviewTransferObject reviewTransferObject ) : Review

Method Details

ComplexImportOfBook() public méthode

public ComplexImportOfBook ( IList authorsNames, string title, IList reviewTransferObjects, string isbn, decimal price, string webSite ) : void
authorsNames IList
title string
reviewTransferObjects IList
isbn string
price decimal
webSite string
Résultat void

SearchBooks() public méthode

public SearchBooks ( string title, string author, string isbn ) : IEnumerable
title string
author string
isbn string
Résultat IEnumerable

SimpleImportOfBook() public méthode

public SimpleImportOfBook ( string authorName, string title, string isbn, decimal price, string webSite ) : void
authorName string
title string
isbn string
price decimal
webSite string
Résultat void