C# Класс DBreeze.DBreezeConfiguration

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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