C# 클래스 DBreeze.DBreezeConfiguration

상속: IDisposable
파일 보기 프로젝트 열기: hhblaze/DBreeze 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AlternativeTablesLocations string>.Dictionary
FSFactory IFileSystemFactory
RICommunicator IRemoteInstanceCommunicator
TextSearchConfig TextSearchConfiguration

공개 메소드들

메소드 설명
DBreezeConfiguration ( ) : System
Dispose ( ) : void

메소드 상세

DBreezeConfiguration() 공개 메소드

public DBreezeConfiguration ( ) : System
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

프로퍼티 상세

AlternativeTablesLocations 공개적으로 프로퍼티

Pattern based way to specify storage and location for tables.

Key of this dictionary must contain table pattern e.g. Article$/Items# or Car456 or Items*

Value, if is String.Empty, means that table will be located in memory.

Value, if not empty, means physical storage folder path, where table should reside.

If table doesn't intersect any pattern then default DB configuration will be overriden for the storage.

If table intersects more the one pattern then first found will be applied.

Help for patterns:

$ * #

"U" symbol in the following examples means intersection

* - 1 or more of any symbol kind (every symbol after * will be cutted): Items* U Items123/Pictures

# - symbols (except slash) followed by slash and minimum another symbol: Items#/Picture U Items123/Picture

$ - 1 or more symbols except slash (every symbol after $ will be cutted): Items$ U Items123; Items$ !U Items123/Pictures

public Dictionary AlternativeTablesLocations
리턴 string>.Dictionary

FSFactory 공개적으로 프로퍼티

Must be instantiated and supplied in case of portable library
public IFileSystemFactory FSFactory
리턴 IFileSystemFactory

RICommunicator 공개적으로 프로퍼티

In case if we want to use storage layer RemoteInstance (RISR), this must be supplied. Answers for sending data to Remote Acceptor and returning answer back
public IRemoteInstanceCommunicator RICommunicator
리턴 IRemoteInstanceCommunicator

TextSearchConfig 공개적으로 프로퍼티

Configuration concerning TextSearch subsystem
public TextSearchConfiguration TextSearchConfig
리턴 TextSearchConfiguration