Interface IDocumentStorageManager
Предоставляет методы для управления хранилищем документов.
Namespace:InfinniPlatform.DocumentStorage
Assembly:InfinniPlatform.DocumentStorage.Abstractions.dll
Syntax
public interface IDocumentStorageManager
Methods
| Improve this Doc View SourceCreateStorageAsync(DocumentMetadata)
Создает хранилище данных для заданного типа документа.
Declaration
Task CreateStorageAsync(DocumentMetadata documentMetadata)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentMetadata | documentMetadata | Метаданные документа. |
Returns
| Type | Description |
|---|---|
| Task |
DropStorageAsync(String)
Удаляет хранилище данных для заданного типа документа.
Declaration
Task DropStorageAsync(string documentType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | documentType | Имя типа документа. |
Returns
| Type | Description |
|---|---|
| Task |
RenameStorageAsync(String, String)
Изменяет наименование хранилища данных для заданного типа документа.
Declaration
Task RenameStorageAsync(string documentType, string newDocumnetType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | documentType | Имя типа документа. |
| System.String | newDocumnetType | Новое имя типа документа. |
Returns
| Type | Description |
|---|---|
| Task |