C# Class Examples.RepositoryExamples

Example module for Generic use of raven repository.
Afficher le fichier Open project: zencoders/sambatyon Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

InsertCountLoadAllDeleteAndLoadAgain() public static méthode

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
Résultat void

LoadRavenExample() public static méthode

This example shows how to instantiate a new raven repository
public static LoadRavenExample ( ) : void
Résultat void

LoadTrackFromDb() public static méthode

This example shows how to load from the repository a previously stored track.
public static LoadTrackFromDb ( ) : void
Résultat void

RunExamples() public static méthode

Access method that will be executed by ProgrammingExamples and runs all the example method of the set.
public static RunExamples ( ) : void
Résultat void

StoreTrackInDb() public static méthode

This example shows how to save a track in a generic repository
public static StoreTrackInDb ( ) : void
Résultat void