Namespace LemonEdge.API.Core.DataIntegration
Classes
SetItemInfo
A helper class used for holding all the information for importing/exporting a LemonEdge entity and all its related child items
StandardSystemWrapperDataSetNamesAttribute
An attrbute that lists the names of auto-generated sqlwrapper or datasets
This is used in import routines to allow importing of this item regardless of version number, and to ensure importing doesn't overwrite system generated info (such as the sql)
SystemGeneratedWrapperDatasetHelper
Interfaces
IConditionalChildCopier
A marker for objects that can be copied by SetItemInfo
IHasFolderStructure
IHasVersion
Indicates this entity has versioning capability provided by the system. Typically implemented by an entity that also implements ISetCopier.
When the entity (and sub items) are exported to xml, and imported back in the system will only import if the item does not already exist or has a lower version.
ISetCopier
Generalizes items that can be translated into an ISetItemInfo containing all their definition and child item definitions for exporting/importing/copying
ISetCopierCloneAlterer
Provides a custom ability to alter the item when it is copied only - not when it is being imported
ISetCopierCustomChildren
ISetItemInfo
Generalizes the methods for importing an ISetItemInfo
ISetItemLoaderOverride
Some ISetCopier implementations need a custom method for processing the imported item after.
For instance transactions use this to ensure a newly copied transacton is InProgress if the original was finalized or cancelled. It also indicates that only root level transactions should be opened by the UI when copied, not the sub transactions - they appear as children of the root one anyway in the UI
ISetItemUpdater
Some ISetCopier implementations also have their internal properties to update with foreign key reference changes to child items.
For instance if the store references in a string, the system wont automatically update that. This provides those items a method to update their own internal properties with new ids pointing to the new child items