C# 클래스 Examples.RepositoryExamples

Example module for Generic use of raven repository.
파일 보기 프로젝트 열기: zencoders/sambatyon 1 사용 예제들

공개 메소드들

메소드 설명
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