C# Класс Examples.RepositoryExamples

Example module for Generic use of raven repository.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
InsertCountLoadAllDeleteAndLoadAgain ( ) : void

This method shows the use and the functionality of some repository methods. Insert a new Track in the Database, Count all elements and the Load it all! Then delete a item and Load it all again

LoadRavenExample ( ) : void

This example shows how to instantiate a new raven repository

LoadTrackFromDb ( ) : void

This example shows how to load from the repository a previously stored track.

RunExamples ( ) : void

Access method that will be executed by ProgrammingExamples and runs all the example method of the set.

StoreTrackInDb ( ) : void

This example shows how to save a track in a generic repository

Описание методов

InsertCountLoadAllDeleteAndLoadAgain() публичный статический Метод

This method shows the use and the functionality of some repository methods. Insert a new Track in the Database, Count all elements and the Load it all! Then delete a item and Load it all again
public static InsertCountLoadAllDeleteAndLoadAgain ( ) : void
Результат void

LoadRavenExample() публичный статический Метод

This example shows how to instantiate a new raven repository
public static LoadRavenExample ( ) : void
Результат void

LoadTrackFromDb() публичный статический Метод

This example shows how to load from the repository a previously stored track.
public static LoadTrackFromDb ( ) : void
Результат void

RunExamples() публичный статический Метод

Access method that will be executed by ProgrammingExamples and runs all the example method of the set.
public static RunExamples ( ) : void
Результат void

StoreTrackInDb() публичный статический Метод

This example shows how to save a track in a generic repository
public static StoreTrackInDb ( ) : void
Результат void