Namespace LemonEdge.Core
Classes
CustomServiceQueryExtender<T>
This class can be inherited by any custom code to provide a mechanism of creating queries that join across items without having to use seperate IEntityRetriever queries.
As IEntityRetriever encapsulates the connection (web or direct database connection) for the client, this provides a mechanism to run LINQ queries regardless
Any class created inheriting from this can be called using ExecuteCustomQuery<T>(String, Object[]).
The contructed IQueryable should be compatible with dynamic Linq translations to SQL
FormulaFunctions
The context supplied while executing custom formulas.
Contains all standard functions provided by StandardFunctions
FormulaFunctionsWithContext
The context supplied while executing formulas that also has a custom context item the formula can execute against
FormulaFunctionsWithContext<T>
/// The context supplied while executing formulas that also has a custom context item the formula can execute against with the correct type
FormulaFunctionsWithQueryRunnerResults
The context supplied while executing formulas that are pass parameters to IQueryRunnerStep while processing a IQueryRunner
SetItemClearOnCopyAttribute
Indicates this property should always be cleared when copying from setcopier to a new item Used for properties such as UserID to ensure they are reset to being globally accessible
SetItemInfo
A helper class used for holding all the information for importing/exporting a LemonEdge entity and all its related child items
Settings
A settings helper class for all settings in the core of LemonEdge and the API
Interfaces
IAuthenticator
A general interface for authenticating logging into the LemonEdge platform
ICustomFunctions
A set of custom functions that can be run against the IEntityUpdater
ICustomServiceQueryHelper
A helper class used by any CustomServiceQueryExtender<T> implementation in order to retrieve items to build a query with
IEntityRetriever
This is the core context class used for querying all data in the LemonEdge platform, regardless if the context is executing directly connected to the database, or across a web service
This context is always provided within UI and Context APIs, ensuring you can always access data wherever it is needed from a view, command, server running task or elsewhere
All queries can refer to the interface for a type, or the class that implements it
IEntityUpdater
This is the core context class used for updating all data in the LemonEdge platform, regardless if the context is executing directly connected to the database, or across a web service
This context is always provided within UI and Context APIs, ensuring you can always access data wherever it is needed from a view, command, server running task or elsewhere
IFormulaFunctions
An interface of the context object associated with processing all LemonEdge formulas
IFormulaFunctionsWithContextItem
Extends the common formula function context to also include a context item
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
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
Enums
DBStatus
EntityOperation
The type of operations that an IEntityUpdater uses for tracking changes in the context before sending them in one batch for a single save within a transaction