C# 클래스 Mongo.Context.Tests.TestData

파일 보기 프로젝트 열기: object/MongOData 1 사용 예제들

공개 메소드들

메소드 설명
Clean ( ) : void
CreateDatabase ( ) : MongoDatabase
OpenDatabase ( ) : MongoDatabase
PopulateWithBsonIdTypes ( bool clearDatabase = true ) : void
PopulateWithCategoriesAndProducts ( bool clearDatabase = true ) : void
PopulateWithClrTypes ( bool clearDatabase = true ) : void
PopulateWithJsonSamples ( bool clearDatabase = true ) : void
PopulateWithVariableTypes ( bool clearDatabase = true ) : void

비공개 메소드들

메소드 설명
GetDatabase ( bool clear ) : MongoDatabase
GetDatabaseName ( string connectionString ) : string
GetResourceAsString ( string resourceName ) : string

메소드 상세

Clean() 공개 정적인 메소드

public static Clean ( ) : void
리턴 void

CreateDatabase() 공개 정적인 메소드

public static CreateDatabase ( ) : MongoDatabase
리턴 MongoDatabase

OpenDatabase() 공개 정적인 메소드

public static OpenDatabase ( ) : MongoDatabase
리턴 MongoDatabase

PopulateWithBsonIdTypes() 공개 정적인 메소드

public static PopulateWithBsonIdTypes ( bool clearDatabase = true ) : void
clearDatabase bool
리턴 void

PopulateWithCategoriesAndProducts() 공개 정적인 메소드

public static PopulateWithCategoriesAndProducts ( bool clearDatabase = true ) : void
clearDatabase bool
리턴 void

PopulateWithClrTypes() 공개 정적인 메소드

public static PopulateWithClrTypes ( bool clearDatabase = true ) : void
clearDatabase bool
리턴 void

PopulateWithJsonSamples() 공개 정적인 메소드

public static PopulateWithJsonSamples ( bool clearDatabase = true ) : void
clearDatabase bool
리턴 void

PopulateWithVariableTypes() 공개 정적인 메소드

public static PopulateWithVariableTypes ( bool clearDatabase = true ) : void
clearDatabase bool
리턴 void