Interface IStorage
Настройки хранилища.
Inherited Members
Namespace: Ascon.Polynom.Api
Assembly: Ascon.Polynom.Api.dll
Syntax
public interface IStorage : IAbleToHaveId, IApiObject, IApiEntity, INotifyPropertyChanged
Properties
AllDataPatches
Возвращает все патчи данных
Declaration
IApiReadOnlyCollection<IDataPatch> AllDataPatches { get; }
Property Value
| Type | Description |
|---|---|
| IApiReadOnlyCollection<IDataPatch> |
AllowDuplicateNames
Настройка "Разрешить создание дублей объектов".
Declaration
CanDoEnum AllowDuplicateNames { get; set; }
Property Value
| Type | Description |
|---|---|
| CanDoEnum |
AllowPropertyDefinitionDuplicateNames
Настройка "Разрешить создание дублей свойств".
Declaration
CanDoEnum AllowPropertyDefinitionDuplicateNames { get; set; }
Property Value
| Type | Description |
|---|---|
| CanDoEnum |
ComponentLibrary
Библиотека компонентов
Declaration
string ComponentLibrary { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Database
Возвращает имя базы данных.
Declaration
string Database { get; }
Property Value
| Type | Description |
|---|---|
| string |
DateOfCreation
Дата создания.
Declaration
DateTime DateOfCreation { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
DbmsType
Возвращает тип СУБД.
Declaration
string DbmsType { get; }
Property Value
| Type | Description |
|---|---|
| string |
DoAutoCreatePart
Настройка "Автоматическое добавление изделий в хранилище".
Declaration
CanDoEnum DoAutoCreatePart { get; set; }
Property Value
| Type | Description |
|---|---|
| CanDoEnum |
ElementFactoryConnectionSettings
Настройки подключения к промежуточной бд миграции конструктора компонентов
Declaration
string ElementFactoryConnectionSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Port
Возвращает порт.
Declaration
int Port { get; }
Property Value
| Type | Description |
|---|---|
| int |
RecalculateDoubleAfterMeasureUnitChanged
Настройка "Пересчитывать значения свойств с плавающей запятой при изменении единицы измерения".
Declaration
bool RecalculateDoubleAfterMeasureUnitChanged { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Server
Возвращает имя или ip сервера.
Declaration
string Server { get; }
Property Value
| Type | Description |
|---|---|
| string |
SimilarCharactersTable
Таблица похожих символов
Declaration
ISimilarCharactersTable SimilarCharactersTable { get; }
Property Value
| Type | Description |
|---|---|
| ISimilarCharactersTable |
Version
Версия.
Declaration
string Version { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
CreateDataPatch(string, string, Guid?)
Создание патча данных
Declaration
IDataPatch CreateDataPatch(string name, string description, Guid? id = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Наименование патча |
| string | description | Описание патча |
| Guid? | id | Идентификатор |
Returns
| Type | Description |
|---|---|
| IDataPatch | Патч данных. |
IsPropertyDefinitionWithNameExists(string)
Возвращает признак, существуют ли свойства с заданным именем.
Declaration
bool IsPropertyDefinitionWithNameExists(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя. |
Returns
| Type | Description |
|---|---|
| bool |
|
RecalculateAllRightsAsync()
Пересчитыввает все права.
Declaration
IAsyncOperation RecalculateAllRightsAsync()
Returns
| Type | Description |
|---|---|
| IAsyncOperation | Асинхронная операция пересчёта всех прав. |