C# Class Examples.RepositoryExamples

Example module for Generic use of raven repository.
ファイルを表示 Open project: zencoders/sambatyon Class Usage Examples

Public Methods

Method 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 method

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
return void

LoadRavenExample() public static method

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

LoadTrackFromDb() public static method

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

RunExamples() public static method

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

StoreTrackInDb() public static method

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