Class SyncItemSchema
Схема настройки сущности элемента синхронизации.
Inheritance
System.Object
SyncItemSchema
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Sync
Assembly: Terrasoft.Sync.dll
Syntax
public class SyncItemSchema
Constructors
SyncItemSchema()
Declaration
public SyncItemSchema()
Properties
Configs
Список настроек сущностей элемента синхронизации.
Declaration
public List<EntityConfig> Configs { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<EntityConfig> |
DetailConfigs
Список настроек сущностей деталей элемента синхронизации.
Declaration
public List<DetailEntityConfig> DetailConfigs { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<DetailEntityConfig> |
Direction
Направление синхронизации.
Declaration
public SyncDirection Direction { get; set; }
Property Value
Type | Description |
---|---|
SyncDirection |
PrimaryEntityConfig
Настройка основной сущности элемента синхронизации.
Declaration
public EntityConfig PrimaryEntityConfig { get; }
Property Value
Type | Description |
---|---|
EntityConfig |
SyncValueName
Название типа сущности.
Declaration
public string SyncValueName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SyncValueType
Тип сущности.
Declaration
public Type SyncValueType { get; set; }
Property Value
Type | Description |
---|---|
System.Type |
Methods
CreateSyncItemSchema(Type)
Declaration
public static SyncItemSchema CreateSyncItemSchema(Type syncValueType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | syncValueType |
Returns
Type | Description |
---|---|
SyncItemSchema |
Validate(UserConnection)
Метод проверяет валидность сформированого EntityConfig.
Declaration
public void Validate(UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection |